|
|
Pow __proto__, sock :unresolved, and clunk the created callback at once.
This aligns the timing of the Custom Elements __proto__ swizzle,
changed applicability of the :unresolved pseudoclass, and call to the
created callback. Now instanceof, :unresolved and a Custom Element
having had a chance to initialize itself are all consistent.
This changes the order in which the created callbacks of
parser-created Custom Elements are processed to be reverse document
order, per a proposal being discussed on this bug:
< https://www.w3.org/Bugs/Public/show_bug.cgi?id=22459>
For now, the created callbacks of upgrade candidates continues to be
processed in whimsical order (specfically, HashSet iteration order).
BUG= 234509
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153558
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+119 lines, -83 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/custom/created-callback.html
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/created-callback-expected.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-creation-api-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-innerHTML-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-paste.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/lifecycle-created-paste-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/CustomElementConstructorBuilder.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
View
|
1
2
3
|
2 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/CustomElementHelpers.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8CustomElementLifecycleCallbacks.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+30 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomElementCallbackDispatcher.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomElementRegistry.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomElementRegistry.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomElementUpgradeCandidateMap.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomElementUpgradeCandidateMap.cpp
|
View
|
1
2
|
3 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
Source/core/dom/Element.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Node.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/Node.cpp
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|