Skip to content

Commit 5c450e0

Browse files
committed
[css-inline-3] Mark section informative, drop subheading, linkify ::first-letter.
1 parent b419b6b commit 5c450e0

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

css-inline-3/Overview.bs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,16 @@ Raised Initial Letters</h4>
568568
<figcaption>Raised cap. The initial letter is the size of a 3-line initial, but does not drop.</figcaption>
569569
</figure>
570570

571-
<h3 id="selecting-drop-initials">Selecting Initial Letters</h3>
571+
<h3 id="selecting-drop-initials">
572+
Selecting Initial Letters</h3>
573+
574+
<em>This section is non-normative.</em>
572575

573576
Initial letters are typically a single letter, although
574577
they may include punctuation or a sequence of characters which
575578
are perceived by the user to be a single typographic unit.
576-
The <code>::first-letter</code> pseudo-element, as defined in [[SELECT]],
579+
The ''::first-letter'' pseudo-element,
580+
defined in [[SELECT]] and [[CSS-PSEUDO-4]],
577581
can be used to select the character(s) to be formatted as <a>initial letters</a>.
578582

579583
Authors who need more control over which characters are included in an initial letter,
@@ -595,15 +599,14 @@ Raised Initial Letters</h4>
595599
</pre>
596600
</div>
597601

598-
<h4 id="initial-letter-punctuation">Initial Letter Punctuation</h4>
599-
600-
Since ''::first-letter'' selects punctuation before or after the first letter,
602+
Note that
603+
since ''::first-letter'' selects punctuation before or after the first letter,
601604
these characters are included in the initial-letters when ''::first-letter'' is used.
602605

603606
<figure>
604607
<img src="images/initial-letter-punctuation-quote.png" width="604"
605608
alt="Paragraph showing both opening quote and first letter set as three-line drop cap">
606-
<figcaption>The <code>::first-letter</code> pseudo-element selects the quotation mark as well as the “M.”</figcaption>
609+
<figcaption>The ''::first-letter'' pseudo-element selects the quotation mark as well as the “M”.</figcaption>
607610
</figure>
608611

609612
Issue: Should there be a way to opt out of this behavior? See <a href="https://github.com/w3c/csswg-drafts/issues/310">Github Issue 310</a>.

0 commit comments

Comments
 (0)