Closed Bug 305496 Opened 19 years ago Closed 19 years ago

bad behaviour with :hover, opacity and scroll bars

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dietmar.rabich, Unassigned)

Details

Attachments

(1 file)

729 bytes, application/xhtml+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

A page with a box and opacity should be extended if the mouse cursor is over the
box. The box is extended well if the mouse cursor is within the box or within
the scrollbar, but not, if the mouse cursor is on the left border of the
scrollbar. So the box flickers if the mouse cursor is moved over the box from
left to right or right to left.

Reproducible: Always

Steps to Reproduce:
1. Try this source:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<title>Test Case</title>
<style type="text/css">

p {margin: 0; padding: 0;}
.frame {position: absolute; width: 30%; height: 10%; overflow: auto; opacity:
0.3; border: 1px solid;}
.frame:hover {opacity: 1; height: 20%; width: 40%;}
#test {right: 5%; top: 35%;}
#test:hover {top: 30%;}

</style>
</head>

<body>
<div class="frame" id="test">
<p>Zeile 1</p>
<p>Zeile 2</p>
<p>Zeile 3</p>
<p>Zeile 4</p>
<p>Zeile 5</p>
<p>Zeile 6</p>
<p>Zeile 7</p>
<p>Zeile 8</p>
</div>
</body>
</html>

2. Put it to a file - for example test.xhtml
3. Open the file with Firefox
4 Move the mouse cursor from the left side of the page to the right side of the
page and touch the box within the movement from the left to the right side.

Actual Results:  
The box flickers. If the mouse cursor is in the box, the box is extended, if it
is on the left side of the scroll bar, the box is shrinked (that's the error)
and if the mouse cursor is in the scroll bar the box is extended again.

Expected Results:  
The software should accept the left side of the scroll bar as "within" the box.

Same thing with other boxes on the left side etc ...
Attached file The sample file.
Please make your window so small that the extend box (with the mouse cursor in
the box) shows a scroll bar too.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050822
Firefox/1.0+ ID:2005082212

WFM
Reproducible with Mozilla 1.7.10 but WFM with Mozilla 1.8b1 and Deer Park a2.
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051015
Firefox/1.4.1 as well. If it doesn't work for you with 1.5 beta, please reopen
the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: