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
Value: normal | <<number>> <<integer>> | <<number>> && [ drop | raise ]?
617
617
Initial: normal
618
618
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>)
619
619
Inherited: no
@@ -625,7 +625,8 @@ Creating Initial Letters: the 'initial-letters' property</h3>
625
625
ISSUE: Renaming this property (and the others in this section)
626
626
is currently <a href="https://github.com/w3c/csswg-drafts/issues/2950">under discussion</a>.
627
627
628
-
This property specifies styling for dropped, raised, and sunken initial letters.
628
+
This property specifies styling for dropped, raised, and sunken initial letters
629
+
by specifying their <a lt="initial letter size">size</a> and <a lt="initial letter sink">sink</a>.
629
630
It takes the following values:
630
631
631
632
<dl dfn-for=initial-letters dfn-type=value>
@@ -648,10 +649,21 @@ Creating Initial Letters: the 'initial-letters' property</h3>
648
649
A value of ''1'' indicates a <a>raised initial</a>;
649
650
values greater than ''1'' indiciate a <a>sunken initial</a>.
650
651
Values less than one are invalid.
651
-
If omitted, it duplicates the first argument,
652
+
653
+
<dt><dfn>raise</dfn>
654
+
<dd>
655
+
Computes to an <a>initial letter sink</a> of ''1''.
656
+
657
+
<dt><dfn>drop</dfn>
658
+
<dd>
659
+
Computes to an <a>initial letter sink</a>
660
+
equal to the <a>initial letter size</a>
652
661
floored to the nearest positive whole number.
653
662
</dl>
654
663
664
+
If the <a>initial letter sink</a> value is omitted,
665
+
''drop'' is assumed.
666
+
655
667
An <dfn lt="initial letter | initial letter box">initial letter</dfn> is
656
668
an <a>in-flow</a> box
657
669
to which 'initial-letters' applies and is not ''initial-letters/normal'';
@@ -662,7 +674,9 @@ Creating Initial Letters: the 'initial-letters' property</h3>
662
674
663
675
<dl>
664
676
<dt>''initial-letters: 3''
665
-
<dt>(''initial-letters: 3 3'')
677
+
<dt>''initial-letters: 3 3''
678
+
<dt>''initial-letters: 3 drop''
679
+
<dt>''initial-letters: drop 3''
666
680
<dd>
667
681
Represents a <a>dropped initial</a> 3 lines high, 3 lines deep.
668
682
@@ -677,6 +691,8 @@ Creating Initial Letters: the 'initial-letters' property</h3>
677
691
alt="3 lines high, 2 lines deep">
678
692
679
693
<dt>''initial-letters: 3 1''
694
+
<dt>''initial-letters: 3 raise''
695
+
<dt>''initial-letters: raise 3''
680
696
<dd>
681
697
Represents a <a>raised initial</a> 3 lines high, 1 line deep.
0 commit comments