Summary: Twitter videos go blank after exiting fullscreen Steps To Reproduce: 1. Load https://twitter.com/stephentyrone/status/1271230268762992642 in Safari 2. Take the video fullscreen 3. Exit fullscreen Results: The area where the video should be is blank. Regression: I regressed this to https://trac.webkit.org/changeset/262124/webkit
We'll check. It's weird because I cannot reproduce it with WebKitGTK
Is FULLSCREEN_API enabled for WebKitGTK? Looks like it is not. Then this issue affects Mac version only.
<rdar://problem/64282632>
Can we revert the change for now?
(In reply to Simon Fraser (smfr) from comment #4) > Can we revert the change for now? Reverted for now while investigating.
(In reply to Peng Liu from comment #2) > Is FULLSCREEN_API enabled for WebKitGTK? Looks like it is not. Then this > issue affects Mac version only. Not by default, but it's implemented. After building with it enabled I cannot reproduce the test case in WebKitGtk either. I'm wondering whether there is some special code in twitter depending on the UA that could cause the issue. Still checking
(In reply to Sergio Villar Senin from comment #6) > (In reply to Peng Liu from comment #2) > > Is FULLSCREEN_API enabled for WebKitGTK? Looks like it is not. Then this > > issue affects Mac version only. > > Not by default, but it's implemented. After building with it enabled I > cannot reproduce the test case in WebKitGtk either. I'm wondering whether > there is some special code in twitter depending on the UA that could cause > the issue. Still checking BTW the issue if any will be with the interaction between RenderFlexibleBox and RenderFullscreen (derived) more than with the FULLSCREEN_API which is different stuff.
(In reply to Sergio Villar Senin from comment #7) > (In reply to Sergio Villar Senin from comment #6) > > (In reply to Peng Liu from comment #2) > > > Is FULLSCREEN_API enabled for WebKitGTK? Looks like it is not. Then this > > > issue affects Mac version only. > > > > Not by default, but it's implemented. After building with it enabled I > > cannot reproduce the test case in WebKitGtk either. I'm wondering whether > > there is some special code in twitter depending on the UA that could cause > > the issue. Still checking > > BTW the issue if any will be with the interaction between RenderFlexibleBox > and RenderFullscreen (derived) more than with the FULLSCREEN_API which is > different stuff. Good news is that I managed to repro it using WebKitGtk so it'll be much easier to get a fix.
Was reverted in https://trac.webkit.org/changeset/263018/webkit
Created attachment 402230 [details] Patch
Created attachment 402464 [details] Patch Test working now in Mac/iOS
Committed r263389: <https://trac.webkit.org/changeset/263389>
Created https://bugs.webkit.org/show_bug.cgi?id=213517 for the test because it is flaky failing since introduction.