Implement 'line-break: anywhere'
Reported by
katie.ba...@gmail.com,
May 10 2017
|
||||||||
Issue description
Chrome Version : 58.0.3029.96 (64-bit)
Other browsers tested:
Safari: OK Version 10.1 (11603.1.30.0.34)
Firefox: FAIL Version 53.0.2 (64-bit) (also fails to break the x's in example)
What steps will reproduce the problem?
(1) put a large amount of "."'s in a span with `word-break: break-all` styling
(2) shrink window to induce wrapping
(included example HTML file)
What is the expected result?
Periods will wrap
What happens instead?
Periods create a horizontal scroll
,
May 10 2017
,
May 11 2017
This is by design, see the discussion at https://github.com/w3c/csswg-drafts/issues/1171 Bisect means that we fixed to match to the spec/Edge/Trident in 41, and W3C CSS WG is discussing adding a feature to break periods in the github issue above.
,
Jun 25 2017
,
Jun 25 2017
,
Aug 13 2017
,
Aug 14 2017
CSS WG resolved to add 'line-break: anywhere', see https://github.com/w3c/csswg-drafts/issues/1171 for details. It was easy to allow break before periods, but WG wants 'line-break: anywhere' to handle spaces as well, which makes us harder to implement. This would be easy once we switched to LayoutNG, but implmeneting on the current engine is not trivial.
,
Aug 14 2017
,
Jan 2 2018
,
Jun 28 2018
Issue 852313 has been merged into this issue. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by kavvaru@chromium.org
, May 10 2017Labels: -Type-Bug -Pri-3 M-60 has-Bisect OS-Linux OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: kojii@chromium.org
Status: Assigned (was: Unconfirmed)