Closed Bug 187744 Opened 23 years ago Closed 23 years ago

page says numerical colors should be revealed, but it looks like the named color is revealed

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: brant, Assigned: caillon)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021231 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021231 The named color is revealed instead of numberical color. Page says it should be otherwise. Reproducible: Always Steps to Reproduce: 1. Load URL. Actual Results: document.alinkColor = yellow Expected Results: document.alinkColor = #ffff00
We fixed this for document.bgcolor in bug 39210 because it was what IE did. Similar things can be done here, too. What does IE do?
*** This bug has been marked as a duplicate of 39210 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
This is _not_ a dup. It involves changing different code.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
bgColor != aLinkColor.
IE6 returns #ffff00. So does NS4.7.
Then the fix is trivial, though it would be replicated for 4 properties (aLink, vLink, link, text). It probably should be a macro define.
Attachment #110693 - Flags: review?(keeda) → review+
Attachment #110693 - Flags: superreview?(peterv)
Attachment #110693 - Flags: superreview?(peterv) → superreview+
To me
Assignee: jst → caillon
Status: REOPENED → NEW
Checked in 01/13/2003 07:29 PST.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: