Skip to content

Commit 9b66415

Browse files
committed
[css-inline-3] Specify position of initial letter (not just its size). #735
1 parent d32018d commit 9b66415

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

css-inline-3/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,13 +619,25 @@ Layout Model</h4>
619619
See <a href="https://github.com/w3c/csswg-drafts/issues/310">discussion</a>.
620620

621621
<li>
622-
The initial letter's margin box is placed at the edge of the line.
622+
In the <a>inline axis</a>,
623+
the initial letter's margin box is placed at the start edge of the line.
623624
If it has no padding or borders, it is negatively offset
624625
by the distance from the start edge of its content box
625626
to the point in the content that would have been placed
626627
at the start edge of the containing block
627628
if it had ''initial-letter: none''.
628629

630+
In the <a>block axis</a>,
631+
the initial letter is anchored to the dominant baseline
632+
of the <a>first formatted line</a>,
633+
positioned with respect to that baseline
634+
such that it would sink the number of lines
635+
specified by 'initial-letter'’s second argument
636+
if its containing block held only
637+
the <a>initial letter</a> itself
638+
followed by an infinite sequence of plain text
639+
as the direct contents of its <a>root inline box</a>.
640+
629641
<li>
630642
Exclude content within the inline letter's margin box
631643
according to 'initial-letter-wrap'.

0 commit comments

Comments
 (0)