Closed
Bug 124159
Opened 23 years ago
Closed 21 years ago
browser show color different from style.color property in the links[] collection, when link lost focus
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: kirill, Assigned: dbaron)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204
BuildID: 2002020406
For the last-clicked link, sets color 'white' by JavaScript.
If click to any link (except Sample Link1, at the first time) in the page
http://www.irena.ru/kirill/mbug.htm, and then click to any non-link object,
browser show color different from 'white' (for example - 'silver') for
last-clicked and lost focus link. Property style.color from links[] collection
for this link return 'white', but browser show 'silver'.
Reproducible: Always
Steps to Reproduce:
1.go to http://www.irena.ru/kirill/mbug.htm
2.click to any link (except Sample Link1, at the first time)
3.click to any non-link object (clicked link must lost focus)
Actual Results: For clicked (and non focused) link browser show 'silver' color
Expected Results: Clicked link must be 'white' when it lost focus
Comment 1•23 years ago
|
||
Sounds like a style system thing. Seeing on linux 2002-02-07-07 too.
Assignee: asa → dbaron
Status: UNCONFIRMED → NEW
Component: Browser-General → Style System
Ever confirmed: true
OS: Windows NT → All
QA Contact: doronr → ian
Hardware: PC → All
Assignee | ||
Comment 2•23 years ago
|
||
This sounds somewhat like hyatt's bug with multiple inline style nodes in the
rule tree.
In the same register, try this :
<html>
<head>
<title>Test</title>
</head>
<body bgcolor="black" text="white" alink="red" link="blue" vlink="blue">
<div align="center">
<a href=""><b>Test</b></a><br><br>
<a href="bla"><font color="red">bla</font></a>
<a href="bla" style="color:red">bli</a>
<a href="bla" style="color:green">blo</a>
<a href="bla" style="color:yellow">blu</a>
</div>
</body>
</html>
With the build 2002021503 on Win2k, the first link "Test" is correctly
displayed, same for "bla", but the three others are black (though the underlines
are correct)
If you remove the "Test" link (and even if you just remove the bold tags),
everything is displayed correctly.
It happens with ou without CSS (internal of external), in quirks mode as well as
in standard mode, and the previous build I was using (february 1st) didn't do it.
Not to mention that it's a _very_ annoying bug that should be fixed ASAP.
Comment 4•21 years ago
|
||
All the testcases workforme. The inline style changes in the 1.3 timeframe
should have fixed them.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•