Open Bug 1272059 Opened 8 years ago Updated 1 year ago

word-wrap: break-all should not break at spaces


(Core :: Layout: Text and Fonts, defect)




Tracking Status
firefox49 --- affected


(Reporter: dbaron, Unassigned)


(Keywords: css3)


(1 file)

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.
Attached image firefox, safari, chrome
did you mean?

break-word: break-all

because there is no `word-wrap: break-all`

It seems to do do that. Using 

data:text/html,<p style="word-break:break-all;width:12ch">superlongstring&nbsp;superlongstring&nbsp;superlongstring&nbsp;superlongstring&nbsp;superlongstring&nbsp;superlongstring&nbsp;superlongstring&nbsp;</p>

There might be other cases.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.