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

> Note that justification doesn't break pages in the way that, say, a layout bug would, so the compat impact of not having this value is going to be less than breaking/dropping any kind of layout behavior. But it's also very cheap to implement, being just an alias.

The spec (and [relevant WPT](https://github.com/web-platform-tests/wpt/blob/206237ada6/css/css-text/text-justify/distribute-alias.tentative.html)) specifies it as a parse-time alias, which while not hard to implement, complicates the code unnecessarily, since WebKit does not have such a mechanism (you need to create a custom parsing method, and can't re-use the fast paths). Compute-time is fine though I don't see the benefit of supporting it. Fwiw, Chrome only implements it compute-time.





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


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

Received on Tuesday, 31 May 2022 07:36:35 UTC