UNCONFIRMED 102266
box-shadow using selector:active causes padding to be lost
https://bugs.webkit.org/show_bug.cgi?id=102266
Summary box-shadow using selector:active causes padding to be lost
Matt Elliott
Reported 2012-11-14 12:14:35 PST
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
Attachments
Note You need to log in before you can comment on or make changes to this bug.