Closed Bug 1584860 Opened 5 years ago Closed 5 years ago

U+002D (hyphen minus) is not wrapping in Firefox in a sequence of number

Categories

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

68 Branch
Unspecified
Android
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1448776
Webcompat Priority ?

People

(Reporter: karlcow, Unassigned)

References

()

Details

Attachments

(1 file)

  1. on Firefox Fenix on Android
  2. Go to https://www.atac.roma.it/page.asp?r=16667&p=159
  3. See how the central column is overlapping the column on the right.

This is not happening in Chrome.

This is created by the use of long sequences of numbers and U+002D (hyphen minus) character.

While chrome is wrapping after U+002D (hyphen minus) , Firefox doesn't.

A test case for it.

data:text/html,<!doctype html><p style="width: 6ch;background-color:gold;">222-222-222-222-222</p>

see the screenshot firefox rendering and chrome rendering.
safari is also wrapping the text.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: