Skip to content

Commit 82d7b52

Browse files
committed
[css-shadow-parts-1] rephrase to make it clear which shadow root is being referred to. Fixes #2467
1 parent 8fa4d3a commit 82d7b52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-shadow-parts-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,17 @@ Each part mapping is one of:
133133

134134
<dl class=switch>
135135
: <code>ident</code>
136-
:: Adds «[ ident → el ]» to the <a>shadow root's</a> <a>shadow part map</a>.
136+
:: Adds «[ ident → el ]» to the <a>shadow part map</a> of the <a>shadow root</a> containing el.
137137

138138
: <code>ident1 => ident2</code>
139139
:: If el is a <a>shadow host</a>,
140140
and it's <a>shadow root's</a> <a>shadow part map</a> |partMap| [=map/contains=] ident1,
141-
then this adds «[ ident2 → |partMap|[ident1] ]» to the <a>shadow root's</a> <a>shadow part map</a>.
141+
then this adds «[ ident2 → |partMap|[ident1] ]» to the <a>shadow part map</a> of the <a>shadow root</a> containing el.
142142

143143
: <code>* => prefix*</code>
144144
:: If el is a <a>shadow host</a>,
145145
then [=map/for each=] |ident| → |subEl| in el's <a>shadow root's</a> <a>shadow part map</a>,
146-
«[ prefix + |ident| → |subEl| ]» is added to the <a>shadow root's</a> <a>shadow part map</a>.
146+
«[ prefix + |ident| → |subEl| ]» is added to the <a>shadow part map</a> of the <a>shadow root</a> containing el.
147147

148148
: anything else
149149
:: Ignored for error-recovery / future compat.

0 commit comments

Comments
 (0)