Nonbreakable space is not elastic

RESOLVED FIXED

Status

()

RESOLVED FIXED
11 years ago
9 years ago

People

(Reporter: petr.pisar, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

752 bytes, application/xml
Details
(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007092604 Minefield/3.0a9pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007092604 Minefield/3.0a9pre

Nonbreakable space (U+00A0) should not have fixed width. The size should be as elastic as normal inter-word (U+0020) space.

Reproducible: Always

Steps to Reproduce:
Render line-wrapped justifed text containing  .
Actual Results:  
The   has different width than other spaces on the same line.

Expected Results:  
  has the same width as other spaces on the same line.

This is regression between Firefox 2.0.0.7 and Firefox 3.0 (alpha9).
(Reporter)

Comment 1

11 years ago
Created attachment 282561 [details]
Test case

Zoom text or resize viewport to wrap line. Second div will have different first space (yellow color highlighted).
(Reporter)

Comment 2

9 years ago
Still present in stable release

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100215 Gentoo Firefox/3.6,

but fixed in trunk

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a2pre) Gecko/20100216 Minefield/3.7a2pre

Closing this issue as fixed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.