|
Implement ::content
Existing: ::-webkit-distributed(parameter) -> New: ::content parameter
Example:
- ::-webkit-distributed(div) -> ::content div
- ::-webkit-distributed(> div) -> ::content > div
A W3C bug related to this implementation:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22829
::content is guarded by RuntimeEnabledFeatures::shadowDOMEnabled.
BUG= 253655
TESTS=LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-dynamic-attribute-change.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-for-shadow-element.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-match-all.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-match-descendant.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-nested.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector-css-text.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-reprojection.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-scoped.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-specifiers-in-left-side.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-support-selector.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-used-in-selector-list.html,
LayoutTests/fast/dom/shadow/content-pseudo-element-with-any.html,
LayoutTests/fast/dom/shadow/content-pseudo-element.html,
LayoutTests/fast/dom/shadow/no-style-sharing-with-uncommon-attribute-and-pseudo-content.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155512
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+135 lines, -31 lines) |
Patch |
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/content-pseudo-element-css-text-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-dynamic-attribute-change.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-dynamic-attribute-change-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-for-shadow-element.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-for-shadow-element-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-match-all.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-match-all-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-match-descendant.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-match-descendant-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-nested.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-nested-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector-css-text.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector-css-text-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-reprojection.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-reprojection-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-scoped.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-scoped-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-specifiers-in-left-side.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-specifiers-in-left-side-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-support-selector.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-support-selector-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-used-in-selector-list.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-used-in-selector-list-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-with-any.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/content-pseudo-element-with-any-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/no-style-sharing-with-uncommon-attribute-and-pseudo-content.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/dom/shadow/no-style-sharing-with-uncommon-attribute-and-pseudo-content-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSGrammar.y.in
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParser.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParser-in.cpp
|
View
|
1
2
3
|
4 chunks |
+46 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParserValues.h
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.h
|
View
|
1
2
3
|
8 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.cpp
|
View
|
1
2
3
|
6 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelectorList.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/SelectorChecker.cpp
|
View
|
1
2
3
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/SelectorFilter.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|