Skip to content

Commit 4bfbc1e

Browse files
committed
[css-pseudo-4] Rename ::postfix to ::suffix #11949
* “Suffix” is the more common term. * It also aligns with the @counter-style descriptors.
1 parent 89d61c1 commit 4bfbc1e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

css-pseudo-4/Overview.bs

+10-8
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Inheritance and the ''::first-line'' Pseudo-element</h4>
319319

320320

321321
<h3 id="first-letter-pseudo">
322-
First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''::postfix'' children</h3>
322+
First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''::suffix'' children</h3>
323323

324324
<wpt>
325325
first-letter-001.html
@@ -393,9 +393,9 @@ First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''
393393
[=sub-pseudo-element=] of the ''::first-letter'' [=pseudo-element=]
394394
(''::first-letter::prefix'');
395395
and associated following punctuation
396-
is represented by the <dfn for="::first-letter">::postfix</dfn>
396+
is represented by the <dfn for="::first-letter">::suffix</dfn>
397397
[=sub-pseudo-element=] of the ''::first-letter'' [=pseudo-element=]
398-
(''::first-letter::postfix'').
398+
(''::first-letter::suffix'').
399399
See [[#first-letter-pattern]], below.
400400

401401
<h4 id="first-letter-pattern">
@@ -561,7 +561,7 @@ Inheritance and Box Tree Structure of the First-Letter Pseudo-elements</h4>
561561
</pre>
562562
</div>
563563

564-
If any ''::first-letter::prefix'' or ''::first-letter::postfix'' [=pseudo-elements=] exist,
564+
If any ''::first-letter::prefix'' or ''::first-letter::suffix'' [=pseudo-elements=] exist,
565565
they are nested within the innermost ''::first-letter'',
566566
and otherwise interpreted similar to ''::first-letter'' itself.
567567

@@ -591,7 +591,7 @@ Inheritance and Box Tree Structure of the First-Letter Pseudo-elements</h4>
591591
are not all in the same element
592592
(as the <code>‘T</code> in <code class="lang-css">&lt;p&gt;‘&lt;em&gt;T...</code>),
593593
the user agent may create the ''::first-letter'' pseudo-element
594-
(and its ''::prefix'' or ''::postfix'' sub-elements, if any)
594+
(and its ''::prefix'' or ''::suffix'' sub-elements, if any)
595595
from one of the elements, or all elements,
596596
or simply not create the pseudo-element(s).
597597
Additionally, if the [=first-letter text=]
@@ -609,10 +609,10 @@ Inheritance and Box Tree Structure of the First-Letter Pseudo-elements</h4>
609609
Styling the First-Letter Pseudo-elements</h4>
610610

611611
In CSS a ''::first-letter'' [=pseudo-element=]
612-
(and its ''::prefix'' and ''::postfix'' sub-elements)
612+
(and its ''::prefix'' and ''::suffix'' sub-elements)
613613
is similar to an [=inline box=].
614614
The following properties apply to
615-
''::first-letter'', ''::first-letter::prefix'', and ''::first-letter::postfix''
615+
''::first-letter'', ''::first-letter::prefix'', and ''::first-letter::suffix''
616616
pseudo-elements:
617617

618618
<ul>
@@ -1512,7 +1512,7 @@ List Markers: the ''::marker'' pseudo-element</h3>
15121512
and the computed value of 'display' on ''::marker''
15131513
always loses any ''display/list-item'' aspect.
15141514

1515-
ISSUE: Should ''::marker'' also have ''::prefix'' and ''::postfix'' sub-elements?
1515+
ISSUE: Should ''::marker'' also have ''::prefix'' and ''::suffix'' sub-elements?
15161516

15171517
<h3 id="placeholder-pseudo">
15181518
Placeholder Input: the ''::placeholder'' pseudo-element</h3>
@@ -1883,6 +1883,8 @@ Changes</h2>
18831883
and <a href="https://github.com/w3c/csswg-drafts/issues/10213">10213</a>)
18841884
<li>Added ''::details-content'' pseudo-element
18851885
(<a href="https://github.com/w3c/csswg-drafts/pull/10379">Issue 10379</a>)
1886+
<li>Renamed ''::postfix'' to ''::suffix''>
1887+
(Issue <a href="https://github.com/w3c/csswg-drafts/issues/11949">Issue 11949</a>)
18861888
<li>Excluded inline layout properties from ''::placeholder''.
18871889
(<a href="https://github.com/w3c/csswg-drafts/issues/5379">Issue 5379</a>)
18881890
<li>Clarified that UAs must not tweak author-specified colors for [=highlight pseudo-elements=].

0 commit comments

Comments
 (0)