Closed
Bug 232757
Opened 22 years ago
Closed 16 years ago
:hover and class or id selectors without an element name doesn't work
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 197686
People
(Reporter: roth.michael, Assigned: dbaron)
References
()
Details
User-Agent:
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7a) Gecko/20040130
Given the following CSS source:
p.class_a:hover { background:lime }
.class_b:hover { background:lime }
the first one (p.class_a:hover) selector works correctly, but the second one
doesn't.
Same applies to the selection based on an ID:
p#id_a:hover { background:lime }
#id_b:hover { backgrund:lime }
First case works, second doesn't.
Reproducible: Always
Steps to Reproduce:
Point your Mozilla to the given URL and follow the instructions.
Actual Results:
In two cases the background color change, in the other two cases it doesn't change.
Expected Results:
In all four cases the background color should change.
(I'm hoping this bug report isn't a duplicate...)
| Assignee | ||
Comment 1•22 years ago
|
||
This was done intentionally in quirks mode only in bug 169078. It will work
correctly in standards mode.
See http://mozilla.org/docs/web-developer/quirks/ for an explanation of why we
have quirks mode and what it is.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Updated•22 years ago
|
Status: RESOLVED → VERIFIED
| Assignee | ||
Updated•16 years ago
|
Status: VERIFIED → RESOLVED
Closed: 22 years ago → 16 years ago
Resolution: WONTFIX → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•