Open
Bug 1272059
Opened 10 years ago
Updated 4 years ago
word-wrap: break-all should not break at spaces
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | affected |
People
(Reporter: dbaron, Unassigned)
Details
(Keywords: css3)
Attachments
(1 file)
|
179.51 KB,
image/png
|
Details |
Per the discussion at the CSS WG meeting in the past few minutes, word-wrap: break-all should not break at non-breaking spaces or preserved spaces (I think); it should only make other types of characters behave like CJK. Or something like that.
The spec is supposed to be clarified next week; hopefully this should be clearer then.
Comment 1•8 years ago
|
||
David,
did you mean?
break-word: break-all
because there is no `word-wrap: break-all`
https://www.w3.org/TR/css-text-3/#word-break-property
It seems to do do that. Using
data:text/html,<p style="word-break:break-all;width:12ch">superlongstring superlongstring superlongstring superlongstring superlongstring superlongstring superlongstring </p>
There might be other cases.
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•