New issue
Advanced search Search tips

Issue 905315 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Feature



Sign in to add a comment

Implement overflow-wrap: anywhere

Reported by idontlik...@gmail.com, Nov 14

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Steps to reproduce the problem:
Implement a new keyword for the overflow-wrap / word-wrap 
properties (which are aliases) which affects min-content sizing. 

See https://github.com/w3c/csswg-drafts/issues/2682 for use-cases / 
rationale, and related issues for discussion. 

Link to standard: 
https://drafts.csswg.org/css-text/#valdef-overflow-wrap-anywhere 

The fact that this lives there is very confusing (see above spec 
issues). Ideally they'll follow suit shortly (since implementation is 
there already, and everybody agreed that the value belongs in the 
overflow-wrap property instead). 

web-platform-tests: 
https://wpt.fyi/results/css/css-text/overflow-wrap?q=min-content 

fiddle:
https://jsfiddle.net/ofgd83um/80/

What is the expected behavior?

What went wrong?

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 70.0.3538.102  Channel: stable
OS Version: 10.0
Flash Version:
 
Components: Blink>Layout
Labels: Needs-Triage-M70
Cc: phanindra.mandapaka@chromium.org
Labels: Needs-Feedback Triaged-ET
Thanks for the issue...

Tried to reproduce the issue on reported chrome 70.0.3538.102 using windows 10. Attaching screencast for reference.
Steps:
-----
1. Launched chrome 
2. Opened given jsfiddle https://jsfiddle.net/ofgd83um/80/ on both chrome and firefox 
As we have observed difference on the " 4. word-break: break-word " as per attached screencast and screenshot

@Reporter: Could you please check the attached screen cast and let us know if anything missed from our end also provide expected behavior and wrong behavior.

Thanks..!
905315.mp4
7.7 MB View Download
905315.PNG
11.0 KB View Download
Try to use FF nightly (65) where "overflow-wrap: anywhere" is applied https://hg.mozilla.org/mozilla-central/rev/9a315872bd6d
"overflow-wrap: anywhere" should look like "word-break: break-word" (FF dont support "word-break: break-word" cuz it not in official spec https://drafts.csswg.org/css-text/#word-break-property)
More about behavior "overflow-wrap: anywhere" you can read in standard: 
https://drafts.csswg.org/css-text/#valdef-overflow-wrap-anywhere 
FFNightlyFiddle-ofgd83um-80.PNG
65.3 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 15

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: kojii@chromium.org
Status: Available (was: Unconfirmed)
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature

Sign in to add a comment