|
Allow HTMLPlugInElement to host UA shadow DOM.
When in "use placeholder content" mode, the element will
create an ordinary RenderBlockFlow as its renderer, and
so will be laid out as a block or inline-block.
A rule was added to StyleAdjuster to ensure that the
default width/height rules for replaced elements are
applied in this case. Since plugins have no intrinsic
ratio, this should be equivalent to mapping 'auto' to
the appropriate defaults.
Finally, a hook in Internals was added to allow layout
tests to trigger this mode, and two layout tests using
this were added.
BUG= 364716
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180487
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+124 lines, -11 lines) |
Patch |
 |
A |
LayoutTests/fast/plugins/plugin-placeholder.html
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/plugins/plugin-placeholder-expected.html
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/plugins/plugin-placeholder-explicit-size-expected.html
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleAdjuster.cpp
|
View
|
1
2
3
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLAppletElement.cpp
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPlugInElement.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPlugInElement.cpp
|
View
|
1
|
4 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderReplaced.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderReplaced.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderVideo.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
3
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.idl
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|