Re: [csswg-drafts] [css-text-4] Make ideograph-alpha and ideograph-numeric part of text-spacing: normal (#6950)

I tried imagining scenarios where changing to more desirable defaults would make it incompatible with existing content, but I cannot come up with much.

Content which already has extra space characters injected wouldn't be affected, because ideograph-alpha and ideograph-numeric do not insert additional spaces between characters and spaces.

One case which may potentially be affected would be designs that emulate a terminal with mixed western/CJK text.

Since there's no guarantee that the browser font selected for CJK will be an integer multiple of the monospace font selected for western text, any site which wants pixel-perfect alignment will likely already be breaking characters into blocks with hard-coded widths and/or CSS grid. Ideograph-alpha and ideograph-numeric should not interact across blocks, so there would not be any impact if implemented that way.

About the behavior being turned off depending on the writing mode, I think I have approached it wrongly. It's more about the behavior of ideograph-alpha and ideograph-numeric itself, i.e. when turned on, spaces are only injected between characters in the same inline direction. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 31 January 2022 12:17:35 UTC