Re: [csswg-drafts] [css-text] [css-inline] Define how to deal with inline backgrounds whose boundary falls into a ligature (#5251)

The approach I implemented simply divides the ligature into equal-sized horizontal pieces. Works OK for Latin text but fails spectacularly for vertical ligatures, for example. At the time I don't think fonts had any information we could use to make a better decision, but I think that might have changed.

The Webkit approach seems bad to me because I've always assumed that wrapping inline content in an unstyled span, or adding decorative styles like "color", should not change layout.

-- 
GitHub Notification of comment by rocallahan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5251#issuecomment-647830523 using your GitHub account

Received on Tuesday, 23 June 2020 00:09:51 UTC