The default bug view has changed. See this FAQ.

'word-spacing: normal' should be treated internally like '0'

RESOLVED FIXED in mozilla1.9.2a1

Status

()

Core
CSS Parsing and Computation
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

Trunk
mozilla1.9.2a1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Created attachment 354090 [details] [diff] [review]
patch

We were failing a few of the style system mochitests because the spec says that 'normal' should lead to a computed value of '0'.  This could be trivially fixed in the computed style code, but given that they should be treated the same way, I don't see any reason to propagate the difference between the two so far.

This changes things so we change mWordSpacing from nsStyleCoord to nscoord.  (The spec still says 'letter-spacing' should have a difference between 'normal' and '0'.)
Attachment #354090 - Flags: superreview?(roc)
Attachment #354090 - Flags: review?(roc)
Attachment #354090 - Flags: superreview?(roc)
Attachment #354090 - Flags: superreview+
Attachment #354090 - Flags: review?(roc)
Attachment #354090 - Flags: review+
(Assignee)

Comment 1

8 years ago
Fixed: http://hg.mozilla.org/mozilla-central/rev/a50ff010b3ff
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
You need to log in before you can comment on or make changes to this bug.