[css-text-3] Normatively disallow break-word - #4087
Conversation
This change adds a normative “Authors must not” statement prohibiting authors from using the (deprecated) break-word value with the word-break property.
|
Marked as non substantive for IPR from ash-nazg. |
|
LGTM. In the case of media queries, the deprecated features were effectively misfeatures. Here, the behavior itself is fine, just terribly named and triggered off the wrong property, so I am not sure the must is quite as strongly justified. But there's a cleaner way to do this, so I'm ok with being a bit pushy in favor of the better way. |
|
Hi @sideshowbarker, |
fantasai
left a comment
There was a problem hiding this comment.
[Marking "Request changes" so this doesn't get merged accidentally.]
|
Currently blocked on https://bugs.webkit.org/show_bug.cgi?id=195345 |
|
Discussed this offline with @sideshowbarker (a while back, only remembering it now), and this is not so much an issue about css-text-3 specifically, but rather a more generic meta question: css should define and use consistent terminology for words like "deprecated", "obsolete", and other similar terms. Here are some of the possible meanings for such words (non exhaustive list):
I think, at present, CSS specs have some cases of 1 (https://drafts.csswg.org/mediaqueries-4/#mf-deprecated), some cases of 2 (https://drafts.csswg.org/css-text-3/#valdef-word-break-break-word. I can't quite tell if https://www.w3.org/TR/css-color-3/#css2-system is 1 or 3. We call all these "deprecated". Should we clean up our terminology to account for this nuance? Is there some systematic (and formally defined) existing use of these words by other groups we could align to? Note that this is about individual features, and is different from obsoleting / superseding / rescinding entire specifications. That's clearly defined in the Process. |
|
This is no longer relevant as a pull request, but I've filed the generalized problem as a standalone issue: #5644 |
This change adds a normative “Authors must not” statement prohibiting authors from using the (deprecated)
break-wordvalue with theword-breakproperty.This change aligns with similar normative author-conformance prohibitions in other specs which define certain features as deprecated; see, for example, the language used in the Media Queries spec with regard to the deprecated
device-width, etc., media features:https://drafts.csswg.org/mediaqueries-4/#mf-deprecated