Closed
Bug 158841
Opened 22 years ago
Closed 22 years ago
<h2> links are not affected by a:hover CSS style
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 146409
People
(Reporter: shlomif, Assigned: attinasi)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.1 (X11; Linux i686; U;) Gecko/0
BuildID: 1.0-rc1
The a:hover CSS style does not affect links placed inside <h2> .. </h2> tags. In
my example, the "Autoconf Macro Archive" link should have been
displayed with a yellow background when the cursor was placed on it.
Reproducible: Always
Steps to Reproduce:
1. Access the URL.
2. Put the cursor above the "Autconf Macro Archive" link
Actual Results: The link was not highlighted
Expected Results: It should have been highlighted
Comment 1•22 years ago
|
||
a is an inline element, so it cannot contain h2, which is a block-level
element. Try <h2><a></a></h2>, then run your page through validator.w3.org.
Comment 2•22 years ago
|
||
That's all true, but this is actually our bug, since our parser _does_ allow
that construct and nothing in CSS forbids it.
*** This bug has been marked as a duplicate of 146409 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
QA Contact: petersen → moied
You need to log in
before you can comment on or make changes to this bug.
Description
•