Closed
Bug 261897
Opened 20 years ago
Closed 14 years ago
Focusing the top image link causes a scrollbar
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 286368
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
(Keywords: regression, testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040926 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040926 Firefox/0.9.1+ When you focus the top link (which is the large image at the top), you get a horizontal scrollbar to appear. I suspect this is happening after bug 151375 was fixed. It looks like the scrollbar is created for the outline that is painted at the right of that image link. I don't think this is good behavior. I would normally not expect to see suddenly scrollbars when I focus something. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
WFM, Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Have you tried a newer version of Firefox?
Comment 3•20 years ago
|
||
(In reply to comment #2) > WFM, Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 > > Have you tried a newer version of Firefox? As the bug shows, this is a problem on the Trunk, not on the FF Aviary branch.
I'm not sure what, if anything, we should do about this. The scrollbars are appearing so that you can see the outline that appears around the A element (which has been deliberately sized as big as the viewport). We could conceivably make scrollbars only appear when there's overflow *excluding* outlines, but that would be a) painful to implement and b) wouldn't look good in some situations, I think. I'll attach a testcase.
If you size your window just right (so that making it any narrower adds a horizontal scrollbar), then tab to the image, you'll see that we add a scrollbar so you can scroll right to see the right outline edge. If we didn't do that, I think this testcase would suffer.
Reporter | ||
Comment 6•20 years ago
|
||
This testcase shows that also right aligned links can cause a scrollbar, when
focusing those links.
I knew this bug was/is controversial. So if this is going to be INVALID,
WONTFIX, that's fine with me.
> If we didn't do that, I think this testcase would suffer.
Personally, I don't think the testcase would suffer. I don't care that much
about the right focus outline. If the image was at the top-left, you would not
see a top and left focus outline either (but that's probably a bug. I don't
know the bug number right now, but I think I have seen a bug about this issue)
The testcase in comment 1 would be fixed by not creating scrollbars when the overflow is in a direction to which we can't scroll, which I think is the right thing to do.
Why can't you scroll right in testcase #1?
Comment 9•20 years ago
|
||
Mozilla Windows Trunk Nightly Build Regression Window Pass: 2004071609 Fail: 2004071808
Updated•20 years ago
|
Keywords: regression,
testcase
Reporter | ||
Comment 10•20 years ago
|
||
*** Bug 274982 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 11•19 years ago
|
||
Another page that is affected by this: http://www.bbc.co.uk/radio/aod/mainframe.shtml?http://www.bbc.co.uk/radio/aod/index.shtml?button I can't click on the "View Compact Size" link at the right bottom of the page, a horizontal scrollbar gets in the way.
Note that this is basically the same as bug 286368. I'd like to do something about this but I don't know what to do.
Reporter | ||
Comment 13•17 years ago
|
||
Fwiw, this makes it impossible to click on the "Photo Gallery>>>" link on this page: http://news.xinhuanet.com/english/2007-09/19/content_6753266.htm
Comment 14•14 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101019 Firefox/4.0b8pre fixed with bug 542595
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•