Closed Bug 262565 Opened 20 years ago Closed 20 years ago

Dotted border painted around overflow: auto div when scrollbar touched

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 257938

People

(Reporter: pe1chl, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927 When a div with the overflow: auto style is used, and a scrollbar appears, touching the scrollbar with the mouse results in a dotted border around the div. Saw this first in rv 1.8a4, was not happening before. Ugly. Reproducible: Always Steps to Reproduce: Use HTML like this: <html> <body> <div style="overflow: auto; height: 200px; width: 200px; border: 1px solid red;"> test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div> </body> </html> Actual Results: Initially rendered OK (red box, text, scrollbar). When scrollbar is touched, dotted border around the red box. Expected Results: Allow the area to be scrolled without adding a border that visually damages the page. In fact this is not the only place where dotted borders have been popping up in the last few alpha releases (also around images, for example). I think it is not a really good idea. Way in the past when HTML specified content rather than layout, it was possibly a good indicator of focus. But now, many pages use lots of style information to get the layout the designer wants, and drawing such borders often disturbs it.
Dupe of bug 257938
Thanks. I could not find that bug when searching. A site that shows this problem: http://www.uw.nl/?location=UW_Productie *** This bug has been marked as a duplicate of 257938 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.