|
Elements in a region should be assignable to a named flow.
The moveToFlowThreadIfNeeded() method is used to create the FlowThread before calling shouldCreateRenderer() which previously returned false because there wasn't any FlowThread to act as parent renderer which caused the dom children of regions not being collected in other flow threads.
The fix was imported and adapted from WebKit https://bugs.webkit.org/show_bug.cgi?id=74144
BUG= 228566
Total comments: 23
Total comments: 2
Total comments: 6
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+283 lines, -24 lines) |
Patch |
|
A |
LayoutTests/fast/regions/flow-body-in-html.html
|
View
|
1
2
3
|
1 chunk |
+23 lines, -0 lines |
1 comment
|
Download
|
|
A |
LayoutTests/fast/regions/flow-body-in-html-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/regions/region-content-flown-into-region.html
|
View
|
1
2
3
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/regions/region-content-flown-into-region-expected.html
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/regions/universal-selector-children-to-the-same-region.html
|
View
|
1
2
3
|
1 chunk |
+22 lines, -0 lines |
2 comments
|
Download
|
|
A |
LayoutTests/fast/regions/universal-selector-children-to-the-same-region-expected.txt
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeRenderingContext.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
1 comment
|
Download
|
|
M |
Source/core/dom/NodeRenderingContext.cpp
|
View
|
1
2
3
|
3 chunks |
+76 lines, -22 lines |
3 comments
|
Download
|
|
M |
Source/core/rendering/FlowThreadController.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/FlowThreadController.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderNamedFlowThread.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
|
M |
Source/core/rendering/RenderRegion.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|