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

It would be interesting to find out which pages contains this property. Coming from a CSS framework? Really used on purpose or just here by default and doing nothing most of the time. 

## `text-justify: distribute-all-lines` seems to happen a lot in China for ie6-8 as a hack.

https://github.com/search?q=%22text-justify%3A+distribute%22&type=issues
https://github.com/search?l=CSS&q=distribute-all-lines&type=Code
https://github.com/search?l=SCSS&q=distribute-all-lines&type=Code

[Example](https://github.com/9958/rinblog/issues/212)

```
 .test1 {
            text-align:justify;
            text-justify:distribute-all-lines;/*ie6-8*/
            text-align-last:justify;/* ie9*/
            -moz-text-align-last:justify;/*ff*/
            -webkit-text-align-last:justify;/*chrome 20+*/
        }
```

Another blog post, [this time Japanese](https://my-terrace.com/css_justify/) to also basically solve the issue in Internet Explorer. 

@LeaVerou Thanks for the data. I wonder if HTTP archive is able to detect the language of the source and we could check the distribution of `distribute-all-lines` and `distribute` by locales.

This is also used by http://justifygrid.com
https://github.com/CrocoDillon/JustifyGrid/blob/bc9e051aca2e13532540238ba03214a8385906c3/Framework/justifygrid.css#L1-L5

which in return seems to have been in a lot of mixins for SASS.


## `text-justify: distribute`

This [stackoverflow](https://stackoverflow.com/questions/18107036/strange-behaviour-when-using-text-align-justify-text-justify-and-right) seems to encourage to use of `text-justify: distribute` for *solving an issue in Internet Explorer* with images creating space. inside a text.

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


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

Received on Friday, 3 June 2022 00:53:29 UTC