|
|
Upgrade parser-created Custom Elements in creation order.
Originally, parser-created Custom Elements were upgraded in reverse
order (which quickly and dirtily ensured that an element's children
were upgraded before the element itself.) Then we rethought this and
upgraded them post-order (which meant an element's children were still
upgraded before the element itself, but siblings were upgraded in
order.)
Now parser-created Custom Elements are upgraded in creation order (ie
pre-order.) This is consistent with how Custom Elements are upgraded
when cloning a subtree of nodes.
This is described here:
< https://www.w3.org/Bugs/Public/show_bug.cgi?id=23778>
BUG= 234509
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162229
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+31 lines, -55 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/custom/element-upgrade.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/element-upgrade-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-innerHTML-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
View
|
|
1 chunk |
+1 line, -1 line |
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/Element.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Node.h
|
View
|
1
2
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Node.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElement.cpp
|
View
|
|
3 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementRegistrationContext.h
|
View
|
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementRegistrationContext.cpp
|
View
|
1
2
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|