[Webkit-unassigned] [Bug 102266] New: box-shadow using selector:active causes padding to be lost

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 14 12:12:47 PST 2012


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

           Summary: box-shadow using selector:active causes padding to be
                    lost
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/4GfWY/4/
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mattdelliott at me.com


When using box-shadow on an element using :active, if you click the element, it will cause the padding of the parent container to be lost.

Here are the requirements for this to occur:

1. You must have a block with

overflow: auto;
position: relative;/* Or on any other block in this but over absolute one */
padding-bottom: 100px;/* Any bottom padding */
Some content that would cause a vertical scrollbar.

2. An inner block with position: absolute.

And if you'd then change box-shadow for this inner block, the bug occurs.

Attached is a fiddle that shows the behavior

-- 
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