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

> 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