Bug 159092 - CSS filter:brightness on :active or :hover on static div does not affect absolute elements that overflow its bounds
Summary: CSS filter:brightness on :active or :hover on static div does not affect abso...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac OS X 10.11
: P2 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 09:03 PDT by Joel Glovacki
Modified: 2022-07-14 16:30 PDT (History)
3 users (show)

See Also:


Attachments
simple example showing the behavior (1.94 KB, text/html)
2016-06-24 09:03 PDT, Joel Glovacki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Glovacki 2016-06-24 09:03:28 PDT
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.
Comment 1 Brent Fulgham 2022-07-14 16:30:58 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.