W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Jul 2020 21:29:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-654475026-1594070941-sysbot+gh@w3.org>
> The browser cannot, in general, know which shaping behaviors are "optional" and which are required for orthographically correct rendering of the content.

This is what `rlig` vs the various other ligature features are supposed to distinguish.

> The spec need not mandate exactly how color changes get rendered if they occur in the midst of shaped sequences, given that sometimes there is no clear "right" answer, but I think it's a reasonable expectation that changing color should never affect layout.

The author is asking for conflicting things. I don't know that there's a clearly correct answer to solving that conflict, so as currently drafted the specs are leaving that up to the UA to figure out. Probably you're right that changing color should not affect layout in a dynamic environment, but if some print implementation thinks that's a higher-fidelity interpretation of the author's intent than keeping the ligature all one color or divided by percentage... I don't think I want to make them non-conformant.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5251#issuecomment-654475026 using your GitHub account
Received on Monday, 6 July 2020 21:29:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC