Closed Bug 291766 Opened 20 years ago Closed 19 years ago

Ul menu overflowed with link on li elements extends when a border is set on a:hover

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: fs, Assigned: bugzilla)

Details

Attachments

(2 files)

User-Agent:       Opera/7.54 (Windows NT 5.0; U)  [fr]
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0

When I set a border (1px solid black in that case) and set a link in the ul menu 
(on a li element) the ul box width is less than expected unless we hover a link.

If I remove the border on the pseudo-element :hover of the link the ul box width 
return to the normal. 




Reproducible: Always

Steps to Reproduce:
Attached file the HTML testcase
Attached file Corresponding CSS
Summary: Ul menu with link on li elements extends when a border is set on a:hover → Ul menu overflowed with link on li elements extends when a border is set on a:hover
I fond that remove the overflow:auto from the .menugauche resolve the problem so 
it's the overflow:auto which cause troubles.

Firefox let's a zone for the bar even if it's not needed and so when the link 
extends, it's remove the bar margin. 

The expected result should be that if the bar isn't visible the reserved space 
should not be. It's logical. 
Comment on attachment 181747 [details]
the HTML testcase

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"><head>
<title>EXEMPLE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="fr">
<link rel="stylesheet" media="all" type="text/css" href="style.css">
</head>

<body>
<div class="div1">
	<ul class="ul1">
		<li>Aller au contenu</li>
	</ul>
</div>
</body>
</html>
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: