Closed
Bug 1618303
Opened 5 years ago
Closed 5 years ago
Provide cheap way to know if a frame is in an opacity:0 subtree
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla75
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: eeejay, Assigned: emilio)
References
Details
Attachments
(1 file)
Both for animation optimizations, and accessibility it would be beneficial to know if a frame has opacity:0 because of a styled ancestor.
Assignee | ||
Comment 1•5 years ago
|
||
I think this should work for the animation throttling stuff.
Opacity works on the element tree, so I think this is sound.
Updated•5 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f060ac7448db
Add an inherited style bit to know whether an element is in an opacity: 0 subtree. r=hiro
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•