W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

[csswg-drafts] [css-text-3] Why is anywhere a value of the line-break property, rather than the word-break property? (#5098)

From: r12a via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 May 2020 16:13:43 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-622613379-1590077622-sysbot+gh@w3.org>
r12a has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-3] Why is anywhere a value of the line-break property, rather than the word-break property? ==
https://www.w3.org/TR/css-text-3/#word-break-property
https://www.w3.org/TR/css-text-3/#line-break-property

Seems like i'm hopelessly late with this question, since various browsers have been implementing the `anywhere` value of `line-break`, even if they are not implementing the `loose`, `normal`, and `strict` values.  However, i find that having the `anywhere` value under `line-break` rather than `word-break` is very confusing when i want to figure out how to style content.

It seems to me that `anywhere` is a natural fit alongside the other word-break values, since it's presumably exclusive to them in usage.

Can someone explain for me (so that i can explain to others) why the `anywhere` value was attached to `line-break`?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5098 using your GitHub account
Received on Thursday, 21 May 2020 16:13:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC