Closed fantasai closed 4 years ago
Another related case to consider: the glyph outline of descenders that expand outside the initial-letter’s box.
I think it needs to apply to any case where the margin is derived from the outline of the letter - so yes, it should apply to the first line of initial-letters-wrap: first
and around the descenders.
SGTM. Let's ask the WG. :)
The CSS Working Group just discussed shape-margin on initial-letters-wrap: first
, and agreed to the following:
RESOLVED: shape-margin and shape-outside apply to initial letter wrapped inline boxes, modifying or replacing the shape of the glyph
Turns out no edits are necessary, since first
defines itself in terms of none
and all
. ^_^
Filed https://github.com/w3c/csswg-drafts/issues/5160 on updating the css-shapes-1 propdefs (not directly about this issue, but mentioned in the WG discussion).
In https://github.com/w3c/csswg-drafts/issues/4171 we resolved to apply 'shape-margin' to the glyph outline for
initial-letters-wrap: all
. What about the first line ofinitial-letters-wrap: first
?CC @dauwhe @faceless2