Summary: | CSS filter:brightness on :active or :hover on static div does not affect absolute elements that overflow its bounds | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joel Glovacki <saetia> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||
Severity: | Trivial | CC: | bfulgham, dino, simon.fraser | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.11 | ||||||
Attachments: |
|
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue. |
Created attachment 281980 [details] simple example showing the behavior When a container element with the default static positioning contains an absolutely positioned element that overflows the static container's boundaries will not change in appearance when clicked or hovered on. only the part of the absolute element that overlaps the static element will darken. clicking on the absolute element will still trigger the brightness effect on the parent element. if you apply brightness on both :hover and :active, it will work properly. when viewing the attachment, take a look at the absolute circles. the left side (static) should behave like the right side (relative). this works as expected in chrome and firefox.