[Webkit-unassigned] [Bug 55173] New: focused link doesn't respect bottom margin in overflow hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 24 12:31:05 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55173

           Summary: focused link doesn't respect bottom margin in overflow
                    hidden
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: evan.exe at gmail.com


Created an attachment (id=83700)
 --> (https://bugs.webkit.org/attachment.cgi?id=83700&action=review)
page with demonstration of bug

See the attached html page for a demonstration of the bug. The attached html page contains two implementations of a column menu, one using a <div> tag for each row where selection is set by adding and removing the "selected" class, and the other using an <a> tag for each row where selection is set by calling focus() on that row. To reproduce the bug, select the last row by pressing the down arrow key three times.

Expected: contents of box to not scroll
Observed: contents of box shift upwards by the height of the bottom border

The contents of the bottom box were expected not to scroll (just like the contents of the top box) because the box itself has "overflow: hidden" and the selected link has a -1px bottom margin to counteract the 1px bottom border. This behavior was not found in either Firefox or Opera.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list