Bug 145378 - Consider deprecating word-break: break-word as valid property value combination
Summary: Consider deprecating word-break: break-word as valid property value combination
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 08:46 PDT by Bogdan Brinza
Modified: 2022-07-14 14:10 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan Brinza 2015-05-26 08:46:33 PDT
We've recently got an interoperability bug report for Microsoft Edge that was rooted in "word-break: break-word". Chrome in this case breaks as if overflow-wrap/word-wrap is set to break-word and Edge/Firefox don't.

Looking at the latest draft for CSS Text (http://dev.w3.org/csswg/css-text/#word-break-property) I see the expected values for word-break don't include break-word, which lives as a property under overflow-wrap/word-wrap.

Looking at the usage data word-break: break-word is used on 3000 sites from the set of 1 000 000 unique sites. Brief analysis suggests this might be mostly coming from couple JS libraries - but it doesn't look like any of them depend on it. 1200 hits out of 3000 are for the single library, which we'll outreach to following this bug as well.

I'm Program Manager in Microsoft Edge/Internet Explorer Layout team and filed this bug after discussing with internal developers and CSS WG (http://lists.w3.org/Archives/Public/www-style/2015May/0259.html)
Comment 1 Bogdan Brinza 2015-05-26 08:51:31 PDT
Also filed Chromium bug - https://code.google.com/p/chromium/issues/detail?id=492202 (I suspect this property: value is coming from WebKit, but might be wrong)
Comment 2 Brent Fulgham 2022-07-14 14:10:02 PDT
It sounds like the relevant Working Group has standardize the current behaviour,