"Everybody dreams of wearing the yellow jersey one day in his life so first off I'm just happy how things are," Roglic said.
Williams's ambition of securing a record-equaling 24th Grand Slam title remains alive as she moved into the women's quarterfinals after an immensely hard-fought 6-3, 6-7 (6), 6-3 victory over Maria Sakkari of Greece, while Thiem had a much easier time with a 7-6 (4), 6-1, 6-1 win against Canadian rising star Felix Auger-Aliassime in the men's draw.
Gasly's win is the first by a French driver in F1 since 1996, and comes after he was dropped by Red Bull midway through last season and demoted to the then-Toro Rosso team, now called AlphaTauri.
Felix Bastians should have snapped Teda's winless run in the 85th minute but the German saw his penalty saved by goalkeeper Deng Xiaofei.
After a 52-minute battle of men's doubles, Feng Yanzhe/Ren Xiangyu of Ruichang rallied from two sets down to defeat Zheng Siwei/Liu Yuchen 10-12, 7-11, 12-10, 12-10, 11-7. Li Shipei then triumphed in the men's singles against Tan Zhendong to help Ruichang tie the match 2-2.
Barty wished the players and the French Federation all the best for a successful tournament and said she was now looking to a long preseason and the summer in Australia.
Djokovic's exit means there will be a first-time Grand Slam champion in the men's draw.
In another third round clash, Australian Open champion Kenin had to weather a barrage of 35 winners coming from Jabeur's racquet, and stayed solid to break the Tunisian's serve three times, fighting her way to a 7-6 (4), 6-3 victory.
"If we can exert our speed and strength, we young players are able to beat experienced ones in the 11-point competition system," said Han Qianxi.
Brazilian striker Dourado equalized with a penalty in the 35th minute for Jianye after his compatriot Feng Boxuan tumbled under the challenge of Yi Teng in the box.
It is also the second F1 victory for the Faenza-based squad, following Sebastian Vettel's equally unlikely win at the 2008 Italian Grand Prix.