Skip to content

Commit

Permalink
[css-shadow-parts] Mark as replaced by real spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Sep 14, 2018
1 parent 6790921 commit 487c047
Show file tree
Hide file tree
Showing 2 changed files with 445 additions and 363 deletions.
8 changes: 4 additions & 4 deletions css-shadow-parts/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Work Status: exploring
URL: http://tabatkins.github.io/specs/css-shadow-parts/
Editor: Tab Atkins-Bittner, Google, http://xanthir.com/contact/
Abstract: This specification defines the ''::part()'' and ''::theme()'' pseudo-elements on <a>shadow hosts</a>, allowing <a>shadow hosts</a> to selectively expose chosen elements from their <a>shadow tree</a> to the outside page for styling purposes.
Warning: not ready
Warning: replaced by https://drafts.csswg.org/css-shadow-parts/
</pre>

<pre class=link-defaults>
spec:selectors-4;
type:selector; text::hover
type:dfn; text:dynamic profile
type:dfn; text:live profile
type:dfn; text:structural pseudo-class
spec:dom; type:dfn; for:/; text:shadow root
</pre>
Expand Down Expand Up @@ -63,7 +63,7 @@ it exposed too much of a component's internal structure to scrutiny,
defeating some of the encapsulation benefits that using Shadow DOM brings.
For this,
and other performance-related reasons,
the >>> combinator was eventually removed from the <a>dynamic profile</a>.
the >>> combinator was eventually removed from the <a>live profile</a>.

This left us with using <a>custom properties</a> as the only way to style into a shadow tree:
the component would advertise that it uses certain <a>custom properties</a> to style its internals,
Expand Down Expand Up @@ -240,4 +240,4 @@ but never match additional <a>shadow-part pseudo-elements</a>.
''x-panel::part(confirm-label)''
would select just the one button's label,
ignoring any other labels.
</div>
</div>
Loading

0 comments on commit 487c047

Please sign in to comment.