Closed Bug 635723 Opened 13 years ago Closed 7 years ago

Make .style.color return rgba(0, 0, 0, 0) for rgba(0, 0, 0, 0)

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1339394

People

(Reporter: jag+mozilla, Assigned: jag+mozilla)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch Simple patch.Splinter Review
It currently stringifies to "transparent". With this change, "transparent" still stringifies to "transparent", since it's stored as an ident.

Changing this will bring us in line with Chrome, Safari, IE and Opera.
Attachment #514008 - Flags: review?(dbaron)
Blocks: 372783
Comment on attachment 514008 [details] [diff] [review]
Simple patch.

r=dbaron.  (Make sure this doesn't break any mochitests, though.)

It would be nice to add a test as well.

Sorry for the delay.
Attachment #514008 - Flags: review?(dbaron) → review+
The patch should have been landed 6 years ago... anyway, marking duplicate to bug 1339394 now since I've submitted a patch there.
Status: NEW → RESOLVED
Closed: 7 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: