- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Jun 2020 17:38:41 +0000
- To: public-css-archive@w3.org
> Breaking shaping at background etc. differences is a bit unfortunate, quoting @rocallahan above: > > > 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. > > I think I agree and I would like to avoid layout invalidation due to background / color changes and such. Yes, agreed. FWIW, Webkit (Safari) seems to break shaping at inline boundaries *even when there's no style difference at all*. See https://codepen.io/jfkthame/pen/gOPRpQG, which shows a plausible usage of color on inline elements where interrupting shaping is definitely *not* desired. It looks fine in both Firefox and Chrome, but is broken in Safari; and it remains broken (i.e. the words are not shaped correctly) even if the `span { color: red; }` rule is completely removed. -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5251#issuecomment-648964028 using your GitHub account
Received on Wednesday, 24 June 2020 17:38:43 UTC