Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cssom-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2968,10 +2968,10 @@ steps:
<ol>
<li>Let <var>doc</var> be <var>elt</var>'s <a>node document</a>.
<li>Let <var>obj</var> be <var>elt</var>.
<li>If <var>pseudoElt</var> is provided, and it's not the empty string, then:
<li>If <var>pseudoElt</var> is provided, is not the empty string, and starts with a colon, then:
<ol>
<li>[=CSS/Parse=] <var>pseudoElt</var> as a <<pseudo-element-selector>>, and let <var>type</var> be the result.
<li>If <var>type</var> is failure, or is an ''::slotted()'' or ''::part()'' pseudo-element, <a>throw</a> a {{TypeError}} exception.
<li>If <var>type</var> is failure, or is an ''::slotted()'' or ''::part()'' pseudo-element, let <var>obj</var> be null.
<li>Otherwise let <var>obj</var> be the given pseudo-element of <var>elt</var>.
</ol>

Expand All @@ -2980,7 +2980,8 @@ steps:
match above.

<li>Let <var>decls</var> be an empty list of <a>CSS declarations</a>.
<li>If <var>elt</var> is <a>connected</a>, part of the <a>flat tree</a>,
<li>If <var>obj</var> is not null, and <var>elt</var> is <a>connected</a>,
part of the <a>flat tree</a>,
and its <a>shadow-including root</a> has a <a>browsing context</a> which either
doesn't have a <a>browsing context container</a>, or whose
<a>browsing context container</a> is <a>being rendered</a>,
Expand Down