Re: [csswg-drafts] [css-text] Consider removing `distribute` value for `text-justify` from the spec (#7322)

> Yeah, interesting. Another point to note, though, is that it appears `distribute` is used 6 times as often as its "preferred" equivalent `inter-character`. Which suggests that removing the compatibility alias would disrupt the great majority of the pages that are requesting this behavior.

This is an interesting data, thanks @Loirooriol, and thanks @karlcow for finding it.

It looks like `inter-ideograph` is the winner for the compat, if we're doing this?

|Value|pages|
|---|---:|
|`inter-ideograph`|19,199|
|`distribute-all-lines`|9,186|
|`distribute`|4,446|
|`inter-character`|717|
|`inter-ideographic`|36|

I'm fine not to add the backward compat because the breakage is very minor and not supported by 3 out of 4 browsers for a long time, but if we want, I think a) adding more used values (`inter-ideograph` and `distribute-all-lines`) looks like more desired, and b) as @nt1m pointed out, great if it's not a parse-time alias as neither WebKit nor Blink has such a mechanism. /cc @lilles

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


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

Received on Monday, 6 June 2022 08:30:57 UTC