Closed Bug 470705 Opened 16 years ago Closed 16 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
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+
Status: ASSIGNED → RESOLVED
Closed: 16 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.

Attachment

General

Created:
Updated:
Size: