Skip to content

Commit d0d0952

Browse files
committed
[css-inline] clarify which properties apply to initial-letter. See w3c#2700
1 parent 92bbb8e commit d0d0952

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

css-inline-3/Overview.bs

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -568,20 +568,14 @@ Creating Initial Letters: the 'initial-letter' property</h3>
568568
<h4 id="initial-letter-properties">
569569
Properties</h4>
570570

571-
The following properties apply to an <a>initial letter</a>:
572-
573-
<ul>
574-
<li>all font properties (see [[CSS3-FONTS]])
575-
<li>the 'color' and 'opacity' properties (see [[CSS3COLOR]])
576-
<li>all background properties (see [[CSS3BG]])
577-
<li>any typesetting properties that apply to inline elements (see [[CSS3TEXT]])
578-
<li>all text decoration properties (see [[CSS3-TEXT-DECOR]])
579-
<li>all margin, border and padding properties (see [[CSS2]] and [[CSS3BG]])
580-
</ul>
581-
582-
Note: Which properties apply to <a>initial letter</a>
583-
depend on whether it is an inline box or an <a>initial letter</a> box,
584-
as <a>initial letter</a> is a display type.
571+
All properties that apply to an <a>inline box</a>
572+
also apply to an <a>initial letter</a>
573+
(unless it is an <a>atomic inline</a>,
574+
in which case the set of properties that apply to an <a>atomic inline</a> apply)
575+
except for 'vertical-align' and its <a>sub-properties</a>.
576+
<!-- Basically, any properties defined in css-inline
577+
except those specific to initial letters,
578+
so keep this list updated as we add things to this spec. -->
585579

586580
Issue: Add 'width'/'height' as requested by Tantek... need to integrate with model.
587581
See GitHub issue <a href="https://github.com/w3c/csswg-drafts/issues/863">863</a>

0 commit comments

Comments
 (0)