|
Replace RenderFullscreen with top layer - Take II
This patch is strongly inspired by
https://codereview.chromium.org/134753003/
but is a complete rewrite of the change to:
- understand why every bits was needed (some were not).
- better document the differences we have with the
specification so that we can track and fix them.
The issue with re-attaching plugins went away due to
https://codereview.chromium.org/23618022, which moved
the plugin's lifecycle to the DOM.
The tests' changes are because fullscreen doesn't center
by default anymore but stretches the element to the
viewport's size. Some tests were also not accounting
for the backdrop and where thus modified.
BUG= 240576, 246077, 398599
Total comments: 15
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+233 lines, -495 lines) |
Patch |
|
M |
LayoutTests/fast/css/invalidation/fullscreen.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css/invalidation/fullscreen-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/enter-exit-full-screen-hover.html
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/full-screen-iframe-zIndex-expected.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fullscreen/full-screen-is-in-top-layer.html
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fullscreen/full-screen-is-in-top-layer-expected.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/full-screen-render-inline-expected.html
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fullscreen/full-screen-video-has-backdrop.html
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fullscreen/full-screen-video-has-backdrop-expected.html
|
View
|
1
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/full-screen-zIndex-expected.html
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fullscreen/resources/empty.html
|
View
|
|
1 chunk |
+1 line, -1 line |
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
|
1 chunk |
+30 lines, -47 lines |
1 comment
|
Download
|
|
M |
Source/core/css/resolver/StyleAdjuster.cpp
|
View
|
|
2 chunks |
+17 lines, -2 lines |
2 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Fullscreen.h
|
View
|
1
|
4 chunks |
+2 lines, -6 lines |
2 comments
|
Download
|
|
M |
Source/core/dom/Fullscreen.cpp
|
View
|
|
8 chunks |
+10 lines, -50 lines |
1 comment
|
Download
|
|
M |
Source/core/dom/RenderTreeBuilder.cpp
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBox.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
D |
Source/core/rendering/RenderFullScreen.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
|
D |
Source/core/rendering/RenderFullScreen.cpp
|
View
|
|
1 chunk |
+0 lines, -214 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderInline.cpp
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderMenuList.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.h
|
View
|
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
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
|
|
M |
Source/web/FullscreenController.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/web/FullscreenController.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
2 comments
|
Download
|
|
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
|
4 chunks |
+37 lines, -3 lines |
0 comments
|
Download
|
Total messages: 35 (3 generated)
|