Closed Bug 160247 Opened 23 years ago Closed 23 years ago

[FIX]Inconsistent formatting of rgb color value (easy fix)

Categories

(Core :: DOM: CSS Object Model, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: vladimire, Assigned: bzbarsky)

Details

Attachments

(2 files)

The formatting of rgb color value is not the same in all cases. Sometimes it is displayed as rgb(0,255,0) and sometimes rgb(0, 255, 0). It should be the same everywhere to avoid breaking strictly written scripts. The first way seems to be more correct since that is the way the spec writes it... Attaching a testcase that shows a case where the value of the same property is displayed in two different ways.
Attached file testcase
Attached patch fixSplinter Review
Comment on attachment 93383 [details] [diff] [review] fix r=peterv
Attachment #93383 - Flags: review+
Attachment #93383 - Flags: superreview+
taking
Assignee: jst → bzbarsky
OS: Windows 2000 → All
Priority: -- → P1
Hardware: PC → Macintosh
Summary: Inconsistent formatting of rgb color value (easy fix) → [FIX]Inconsistent formatting of rgb color value (easy fix)
Target Milestone: --- → mozilla1.2alpha
Hardware: Macintosh → All
fixed on trunk.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: