You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-pseudo/Overview.html
+1-6
Original file line number
Diff line number
Diff line change
@@ -456,12 +456,7 @@ <h4 class="heading settled" data-level=2.2.2 id=first-letter-styling><span class
456
456
<divclass=example>
457
457
Example:
458
458
This CSS and HTML example shows a possible rendering of an initial cap.
459
-
Note that the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-line-heighttitle=line-height>line-height</a> that is inherited
460
-
by the <spanclass=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
465
460
is inside the <span>span</span>,
466
461
and thus the font weight of the first letter is normal,
0 commit comments