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)

enhancement
Not set
normal

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.

I think this should work for the animation throttling stuff.

Opacity works on the element tree, so I think this is sound.

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
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: