Re: [csswg-drafts] [css-text] cursive shaping breaks needs better scoping

Sure, i understand that, but the example you give is not a particularly useful thing to do.  I suspect that much of the time one will apply first-letter in order to change the formatting (see the image at https://github.com/w3c/csswg-drafts/issues/698#issuecomment-297472304).

We have https://drafts.csswg.org/css-inline-3/#initial-letter-shaping saying that 

> When initial-letters is not normal, shaping should still occur across an inline initial letter box’s boundaries. ... For example, if the first letter of the Farsi word “پس” were styled with initial-letters: 2 1, both letters would be styled in their joined forms, with initial-form “ﭘ” as the initial letter, followed by the normally-styled final-form “ﺲ”. **Note that the two letters might not always graphically connect, even when shaped in their joining forms.**  (my emphasis)

But we have https://drafts.csswg.org/css-text/#boundary-shaping saying that

> Text shaping must be broken at inline box boundaries when any of the following are true for any box whose boundary separates the two typographic character units: Any of margin/border/padding separating the two typographic character units in the inline axis is non-zero. ...

The two things seem to be contradictory, or at least to warrant some additional explanation.


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

Received on Wednesday, 14 November 2018 06:08:29 UTC