Skip to content

Commit e92278f

Browse files
committed
[css-pseudo-4] Rename the values of CSSPseudoElement.type to match the corresponding pseudo-elements
Fixes #2815.
1 parent 2dbf1e4 commit e92278f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

css-pseudo-4/Overview.bs

+7-9
Original file line numberDiff line numberDiff line change
@@ -850,20 +850,18 @@ Interface CSSPseudoElement</h3>
850850
This can be one of the following values:
851851

852852
<dl>
853-
<dt>‘before’
853+
<dt>::before’
854854
<dd>The pseudo-element was created before the element's contents.
855-
<dt>‘after’
855+
<dt>::after’
856856
<dd>The pseudo-element was created after the element's contents.
857-
<dt>‘letter’
857+
<dt>::first-letter’
858858
<dd>The pseudo-element is the first letter of the element.
859-
<dt>‘line’
859+
<dt>::first-line’
860860
<dd>The pseudo-element is the first line of the element.
861-
<dt>‘selection’
861+
<dt>::selection’
862862
<dd>The selection pseudo-element for the element.
863863
</dl>
864864

865-
Issue: Why are these strings different from the name of the pseudo-element?
866-
867865
The <dfn attribute for=CSSPseudoElement>element</dfn> attribute is the
868866
[=originating element=] of the pseudo-element.
869867

@@ -953,8 +951,8 @@ Changes</h2>
953951
<li>Links to pseudo-element OM design discussions.
954952
<li>Various minor clarifications.
955953
<li>Use ''spelling-error'' and ''grammar-error'' with ''::spelling-error'' and ''::grammar-error'' in the UA stylesheet.
956-
<li>Added the {{CSSPseudoElement/element}} attribute to the
957-
{{CSSPseudoElement}} interface.
954+
<li>Added the {{CSSPseudoElement/element}} attribute to the {{CSSPseudoElement}} interface.
955+
<li>Changed the values of the {{CSSPseudoElement/type}} attribute on the {{CSSPseudoElement}} interface to match the corresponding pseudo-elements.
958956
</ul>
959957

960958
<h2 class="no-num" id="acknowledgements">

0 commit comments

Comments
 (0)