Closed Bug 111228 Opened 23 years ago Closed 23 years ago

:hover style not applied to whole element if it contains a <br>

Categories

(Core :: CSS Parsing and Computation, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 98783

People

(Reporter: cbouvi, Assigned: dbaron)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6) Gecko/20011120
BuildID:    2001112009

When using a :hover style to bolden a link that spans several lines, only of
first line is rendered as bold.
Real life example in the menu on the left hand side of http://www.sgsonsite.com
(link to "frequently asked questions")

Reproducible: Always
Steps to Reproduce:
1. go to http://cbouvi.free.fr/testmoz.html
2. move the mouse over the two links
3. see what happens

Actual Results:  First link appears in bold all right when the mouse is over it.
For the second link, whose text spans across two lines, only the first line of
text appears in bold, while the second is left unchanged. 

Expected Results:  I would have expected everything between <a...> and </a> to
be rendered in bold.

There's a code snippet at http://cbouvi.free.fr/testmoz.html

I could reproduce it with 0.9.5 and 0.9.6 on WinNT and Linux.
This is a duplicate.  I just found bug 93104, but I think there's another bug on
this that's more clearly described.  That bug is a mess, so perhaps it should be
marked a duplicate of this one.

*** This bug has been marked as a duplicate of 98783 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.