|
Implement ::shadow pseudo element and replace /shadow/ with ::shadow.
If an element has at least one shadow tree, the ::shadow pseudo-element matches the shadow roots themselves.
c.f. Shadow DOM styling spec:
http://drafts.csswg.org/css-scoping/#shadow-pseudoelement
The new spec doesn't support /shadow/ combinator. Instead, it supports ::shadow.
BUG= 355954
TEST=fast/dom/shadow/content-pseudo-element-with-hat.html,fast/dom/shadow/querySelector-for-multiple-shadowroots.html,fast/dom/shadow/querySelector-for-useragent-shadowroot.html,fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html,fast/dom/shadow/style-with-hat.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170131
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -166 lines) |
Patch |
 |
M |
LayoutTests/fast/css/invalidation/targeted-class-shadow-combinator.html
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/invalidation/targeted-class-shadow-combinator-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/content-pseudo-element-with-hat.html
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/content-pseudo-element-with-hat-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/dynamically-added-cat-hat-rules.html
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-for-multiple-shadowroots.html
|
View
|
1
2
3
|
1 chunk |
+20 lines, -20 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-for-multiple-shadowroots-expected.txt
|
View
|
1
2
3
|
1 chunk |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-for-useragent-shadowroot.html
|
View
|
1
2
3
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-for-useragent-shadowroot-expected.txt
|
View
|
1
2
3
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html
|
View
|
1
2
3
|
3 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt
|
View
|
1
2
3
|
1 chunk |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/style-and-shadow-element.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/style-with-hat.html
|
View
|
1
2
3
4
5
6
|
16 chunks |
+66 lines, -24 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/style-with-hat-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSGrammar.y
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParserValues.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.cpp
|
View
|
1
2
3
4
5
6
|
4 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelectorList.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelectorList.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/RuleFeature.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/RuleSet.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/SelectorChecker.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/SelectorChecker.cpp
|
View
|
1
2
3
4
5
|
6 chunks |
+31 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/SelectorFilter.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser-in.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/SelectorQuery.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|