@@ -584,9 +584,8 @@ Properties</h4>
584584 <!-- Basically, any properties defined in css-inline
585585 except those specific to initial letters,
586586 so keep this list updated as we add things to this spec. -->
587-
588- Issue: Add 'width' /'height' as requested by Tantek... need to integrate with model.
589- See GitHub issue <a href="https://github.com/w3c/csswg-drafts/issues/863">863</a>
587+ Additionally, all of the <a>sizing properties</a>
588+ and 'box-sizing' also apply to <a>initial letters</a> .
590589
591590<h4 id="initial-letter-model">
592591Layout Model</h4>
@@ -605,8 +604,29 @@ Layout Model</h4>
605604
606605 <li>
607606 Size the <a>initial letter</a> ’s content box.
608- The content box of a non-atomic inline initial letter
609- is the smallest rectangle required to include the entirety of its glyphs--
607+
608+ If its <a>width</a> /<a>height</a> is definite,
609+ use that value
610+ (clamped as required by the <a>min size</a> and <a>max size</a> properties,
611+ and handling 'box-sizing' as required)
612+ for that dimension of the box.
613+ In the case of a definite <a>inline size</a> ,
614+ 'text-align' is honored
615+ for aligning the contents of the <a>initial letter</a> within its box
616+ in the <a>inline axis</a>
617+ (using its <a>inline-axis</a> bearings as usual,
618+ not the bounding box of its glyph outlines).
619+ In the case of a definite <a>block size</a> ,
620+ 'align-content' is honored
621+ for aligning its contents in the <a>block axis</a>
622+ (using its <a>block-axis</a> bearings,
623+ synthesizing them if needed).
624+
625+ Otherwise
626+ it is considered to have an <a>automatic size</a> in that dimension
627+ and is sized and positioned to coincide with
628+ the smallest rectangle that would include
629+ the bounding boxes of all its glyphs--
610630 excluding any that <a spec="css-text-3">hang</a>
611631 (see 'hanging-punctuation' )--
612632 as well as the margin boxes of any atomic inlines it contains.
@@ -621,7 +641,10 @@ Layout Model</h4>
621641 <li>
622642 In the <a>inline axis</a> ,
623643 the initial letter's margin box is placed at the start edge of the line.
624- If it has no padding or borders, it is negatively offset
644+ If it is a non-atomic inline
645+ with an <a lt="automatic size">automatic</a> <a>inline size</a>
646+ and has no padding or borders,
647+ it is negatively offset
625648 by the distance from the start edge of its content box
626649 to the point in the content that would have been placed
627650 at the start edge of the containing block
0 commit comments