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)

defect
Not set
normal

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:
Comment on attachment 142728 [details] Example of described bug Move pointer on the first and on the second table and feel the difference
I believe that's deliberate/by design for quirks mode documents such as your testcase. This standards-mode testcase works as expected.
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
Thanks, now i know what to do ;-)
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.

Attachment

General

Created:
Updated:
Size: