Closed Bug 44043 Opened 25 years ago Closed 25 years ago

borderColor property returns multiple rgb() statements

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 18894

People

(Reporter: mail, Assigned: pierre)

Details

Attachments

(1 file)

Overview Description: The reading of the borderColor property returns rgb (r,g,b) rgb(r,g,b) rgb(r,g,b) rgb(r,g,b) instead of rgb(r,g,b), or the preferred hex value. This is especially preferred when it is set using a hex code. Steps to Reproduce: 1) set borderColor 2) read borderColor Actual Results: lists rgb(r,g,b) four times Expected Results: returns value that was set Reproducibility: always Build Date & Platform Bug Found: M16 nightly 2000062608, win2K Additional Builds and Platforms Tested On: M16 milestone Additional Information: testcase to follow
Attached file testcase
Same problem as bug 18894. We'll have to change the memory model to fix that and it won't happen before Version 2. *** This bug has been marked as a duplicate of 18894 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
So it is returning four values, one for each top, right, bottom, and left. Why was it chosen to return rgb values when hex codes are most commonly used?
No idea. Let's ask our DOM guy, Johnny Steinbeck. Johnny, can you tell?
verifying as a dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: