|
|
HTML Imports: Make sure new imports being added to the "first child"
The notion of first child was introduced at r171966. That is,
The first import of import-tree order should take care of all
the subimports of the same URL.
This invariant is enforced by HTMLImportLoader::addImport()
but its implementation wasn't enough. This change extends it
so that the invariant enforcement is done against the subtree,
instead of just against the added node itself.
TEST=import-normalize-[123]{3}.html
R=dominicc@chromium.org,dglazkov@chromium.org
BUG= 372055
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173900
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+182 lines, -19 lines) |
Patch |
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-123.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-123-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-132.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-132-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-213.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-213-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-231.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-231-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-312.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-312-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-321.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/import-normalize-321-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/htmlimports/resources/normalize-child-1.cgi
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/resources/normalize-child-2.html
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/htmlimports/resources/normalize-child-3.html
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/htmlimports/resources/normalize-child-4.html
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/htmlimports/resources/normalize-test-helper.js
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/imports/HTMLImportChild.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/imports/HTMLImportChild.cpp
|
View
|
1
2
|
1 chunk |
+18 lines, -1 line |
1 comment
|
Download
|
 |
M |
Source/core/html/imports/HTMLImportLoader.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/imports/HTMLImportLoader.cpp
|
View
|
1
|
1 chunk |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/imports/HTMLImportsController.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|