Skip to content

Commit ed91e7a

Browse files
committed
[css-inline-3] Apply 'initial-letters' to ::marker, clarify applicability to ::first-letter. w3c#2184
1 parent f047242 commit ed91e7a

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

css-inline-3/Overview.bs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ Creating Initial Letters: the 'initial-letters' property</h3>
436436
Name: <dfn id="propdef-initial-letters">initial-letters</dfn>
437437
Value: normal | [<<number>> <<integer>>?]
438438
Initial: normal
439-
Applies to: <code>::first-letter</code> pseudo-elements and <a href="#first-most-inline-level">certain inline-level boxes</a> (see prose)
439+
Applies to: certain inline-level boxes and <css>::first-letter</css> and inside <css>::marker</css> boxes (<a href="#first-most-inline-level">see prose</a>)
440440
Inherited: no
441441
Percentages: N/A
442442
Computed value: as specified
@@ -518,10 +518,12 @@ Creating Initial Letters: the 'initial-letters' property</h3>
518518
the 'initial-letters' property applies not just
519519
to the CSS-defined ''::first-letter'' pseudo-element,
520520
but also to
521+
''list-style-position/inside''-positioned ''::marker'' pseudo-elements and
521522
inline-level boxes
522523
that are placed at the start of the first line.
523-
Specifically, 'initial-letters' also applies to
524-
any <a>inline-level box</a>
524+
Specifically, 'initial-letters' applies to
525+
any <a>inline-level box</a>--
526+
including any such ''::first-letter'' or ''::marker'' box--
525527
that is the first child of its parent box
526528
and whose ancestors (if any) that are descendants of its <a>containing block</a>
527529
are all first-child <a>inline boxes</a>
@@ -693,7 +695,7 @@ Alignment of Initial Letters: the 'initial-letters-align' property</h3>
693695
Name: <dfn id="propdef-initial-letters-align">initial-letters-align</dfn>
694696
Value: border-box? [ alphabetic | ideographic | hebrew | hanging ] | border-box
695697
Initial: alphabetic
696-
Applies to: <code>::first-letter</code> pseudo-elements and <a href="#first-most-inline-level">certain inline-level boxes</a> (see prose)
698+
Applies to: certain inline-level boxes and <css>::first-letter</css> and inside <css>::marker</css> boxes (<a href="#first-most-inline-level">see prose</a>)
697699
Inherited: yes
698700
Percentages: N/A
699701
Computed value: specified value
@@ -940,7 +942,7 @@ Initial Letter Wrapping: the 'initial-letters-wrap' property</h3>
940942
Name: <dfn id="propdef-initial-letters-wrap">initial-letters-wrap</dfn>
941943
Value: none | first | all | grid | <<length>> | <<percentage>>
942944
Initial: none
943-
Applies to: <code>::first-letter</code> pseudo-elements and <a href="#first-most-inline-level">certain inline-level boxes</a> (see prose)
945+
Applies to: certain inline-level boxes and <css>::first-letter</css> and inside <css>::marker</css> boxes (<a href="#first-most-inline-level">see prose</a>)
944946
Inherited: yes
945947
Percentages: relative to <a>logical width</a> of (last fragment of) initial letter
946948
Computed value: as specified

0 commit comments

Comments
 (0)