Closed Bug 263749 Opened 20 years ago Closed 19 years ago

Scrollbar appears when focusing link in div with overlow:auto;

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 286368

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041010 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041010 Firefox/0.9.1+

I'll attach a testcase. 
Basically this is the code of the testcase:
<div style="width: 200px;overflow:auto;">
<a href="#">Focusing this link causes a scrollbar</a>
</div>

So when a link wraps to a second line and is in a overflow:auto div, you'll get
to see a scrollbar when focusing the link.

(only happens in recent 1.8a builds, people)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Attached file Testcase
Blocks: 261196
Keywords: testcase
The URLs of bug 262401 and bug 263843 both have a div with overflow:auto, could
those bugs be related to this bug?
Mozilla Windows Trunk Nightly Build Regression Window
Pass: 2004071609
Fail: 2004071808
This is intended behavior (at least, for the moment) as I understand now.
This is in fact a duplicate of bug 286368.

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

Attachment

General

Created:
Updated:
Size: