Closed
Bug 236169
Opened 22 years ago
Closed 22 years ago
:HOVER works through ID but not by CLASS
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
INVALID
People
(Reporter: tonn81, Assigned: dbaron)
Details
Attachments
(2 files)
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
I try to change TD element on hover by setting its CLASS, but it works only when
i set its ID.
Reproducible: Always
Steps to Reproduce:
| Reporter | ||
Comment 1•22 years ago
|
||
| Reporter | ||
Comment 2•22 years ago
|
||
Comment on attachment 142728 [details]
Example of described bug
Move pointer on the first and on the second table and feel the difference
Comment 3•22 years ago
|
||
I believe that's deliberate/by design for quirks mode documents such as your
testcase. This standards-mode testcase works as expected.
Comment 4•22 years ago
|
||
Confirmed, that this is deliberate in quirks mode. See
http://www.mozilla.org/docs/web-developer/quirks/quirklist.html
"The :hover pseudoclass will only be applied to links, images, and form
controls, unless the selector includes tag names, ids, or attributes."
->Invalid
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 5•22 years ago
|
||
Thanks, now i know what to do ;-)
Updated•22 years ago
|
Status: RESOLVED → VERIFIED
OS: Windows XP → All
Hardware: PC → All
You need to log in
before you can comment on or make changes to this bug.
Description
•