|
Replace RenderFullScreen with top layer
This patch makes the Fullscreen API use the top layer, as per the latest
Fullscreen spec.
The previous attempt apparently broke plugin reloading on setAttribute,
but there is not a simple test case for it (empirically, a plugin-based
app broke after the change). The cause was the m_protectWidgetDuringReattach
mechanism that saves a plugin from reloading when entering/exiting fullscreen.
In this case, the m_protectWidgetDuringReattach mechanism inappropriately
kicked in during a reattach triggered by recalcStyle.
The fix is to only set m_protectWidgetDuringReattach in setIsInTopLayer, rather
than in detach.
Previously landed as r165904, r165710, 166304
Codereviews:
https://codereview.chromium.org/134753003/
https://codereview.chromium.org/139743005/
https://codereview.chromium.org/142653003/
BUG= 240576, 246077
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+303 lines, -498 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
|
4 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/HTMLDialogElement/fullscreen-elements-do-not-affect-modality.html
|
View
|
1
|
1 chunk |
+109 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/HTMLDialogElement/fullscreen-elements-do-not-affect-modality-expected.txt
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fullscreen/anonymous-block-merge-crash.html
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fullscreen/full-screen-is-in-top-layer.html
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fullscreen/full-screen-placeholder.html
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fullscreen/full-screen-placeholder-expected.txt
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fullscreen/full-screen-video-has-backdrop.html
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/platform/linux/fullscreen/parent-flow-inline-with-block-child-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
D |
LayoutTests/platform/win/fullscreen/full-screen-placeholder-expected.txt
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/fullscreen.css
|
View
|
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/FullscreenElementStack.h
|
View
|
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/FullscreenElementStack.cpp
|
View
|
|
10 chunks |
+14 lines, -50 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/RenderTreeBuilder.cpp
|
View
|
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLDialogElement.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLDialogElement.cpp
|
View
|
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPlugInElement.h
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPlugInElement.cpp
|
View
|
1
2
|
4 chunks |
+26 lines, -1 line |
2 comments
|
Download
|
 |
D |
Source/core/rendering/RenderFullScreen.h
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
Source/core/rendering/RenderFullScreen.cpp
|
View
|
|
1 chunk |
+0 lines, -189 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderInline.cpp
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerCompositor.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderVideo.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderVideo.cpp
|
View
|
|
2 chunks |
+0 lines, -42 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|