Skip to content

Commit f89a6e1

Browse files
committed
[css-pseudo] Adjust example text to match normative prose
1 parent 775393d commit f89a6e1

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

css-pseudo/Overview.bs

+1-6
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,7 @@ Styling the ''::first-letter'' Pseudo-element</h4>
347347
<div class="example">
348348
Example:
349349
This CSS and HTML example shows a possible rendering of an initial cap.
350-
Note that the 'line-height' that is inherited
351-
by the ''::first-letter'' pseudo-element is 1.1,
352-
but the User-Agent in this example has computed the height
353-
of the first letter box differently,
354-
so that it doesn't cause any unnecessary space between the first two lines.
355-
Also note that the fictional start tag of the first letter
350+
Note that the fictional start tag of the first letter
356351
is inside the <span>span</span>,
357352
and thus the font weight of the first letter is normal,
358353
not bold as the <span>span</span>:

css-pseudo/Overview.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,7 @@ <h4 class="heading settled" data-level=2.2.2 id=first-letter-styling><span class
456456
<div class=example>
457457
Example:
458458
This CSS and HTML example shows a possible rendering of an initial cap.
459-
Note that the <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css2/visudet.html#propdef-line-height title=line-height>line-height</a> that is inherited
460-
by the <span class=css>::first-letter</span> pseudo-element is 1.1,
461-
but the User-Agent in this example has computed the height
462-
of the first letter box differently,
463-
so that it doesn’t cause any unnecessary space between the first two lines.
464-
Also note that the fictional start tag of the first letter
459+
Note that the fictional start tag of the first letter
465460
is inside the <span>span</span>,
466461
and thus the font weight of the first letter is normal,
467462
not bold as the <span>span</span>:

0 commit comments

Comments
 (0)