Open Bug 1448776 Opened 6 years ago Updated 1 year ago

Allow line-break after - (U+002D / hyphen-minus) between digits.


(Core :: Layout: Text and Fonts, enhancement, P4)

61 Branch



Tracking Status
firefox61 --- affected


(Reporter: karlcow, Unassigned)




(Whiteboard: [webcompat] [text])


(1 file)

This is a spin-off of a webcompat issue

Firefox will not break after the hyphen-minus while Chrome and Safari do.

test case here
[Original bug title was misleading: the example shown has the hyphen-minus between two digits, not "immediately followed by a letter".]

Currently, Gecko deliberately does not break in a sequence <digit, hyphen-minus, digit>:

Changing this could have pretty widespread implications; it's not immediately clear to me whether on balance it would be an improvement or not.
Summary: Allow line-break after - (U+002D / hyphen-minus) when immediately followed by letter. → Allow line-break after - (U+002D / hyphen-minus) between digits.
Jonathan, yup. 
Reporting for recording the difference, not necessary to create a change in the meantime, and given this is one site only I don't think it is a priority. 
Thanks for fixing the title.
Priority: -- → P4

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

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