Closed Bug 1466954 Opened 7 years ago Closed 7 years ago

useOpacity changes between paints without an invalidation.

Categories

(Core :: Web Painting, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1475769
Tracking Status
firefox62 --- affected

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

Attachments

(2 files)

This is a cause of the crashes in bug 1466010, but using a separate bug since I suspect it's not 100% of them. I can reproduce this crash sometimes when making a youtube video fullscreen, but only in my downloaded Nightly, never in a local build. I think I understand the cause, but hard to confirm since I can't repro with anything I build myself (tested opt and debug, plus rr on linux).
Assignee: nobody → matt.woodrow
Comment on attachment 8983575 [details] Bug 1466954 - Create an nsDisplayOpacity item if we might have animations for it, so that we avoid changing the display list without an invalidation. https://reviewboard.mozilla.org/r/249434/#review255620 I don't think this fixes the crash since 'May' in MayHaveAnimationOfProperty means that the function returns true even if the animation for the given CSS property has been already finished. More precisely, we don't clear the flags that are used for MayHaveAnimationOfProperty when the animation finished. The flags persist until the corresponding EffectSet is destroyed. So this patch probably creates a stacking context for an element which had an opacity animation but still has other animations (e.g. background-color).
Attachment #8983575 - Flags: review?(hikezoe) → review-
Another suspicious point is that there are still some cases that nsIFrame::mMayHaveOpacityAnimation isn't properly set.
Priority: -- → P2
Attached file testcase.html
This testcase is pretty consistent but it seems that it must be opened via http:// not file://
Great!
See Also: → 1467688
(In reply to Tyson Smith [:tsmith] from comment #4) > Created attachment 8984329 [details] > testcase.html > > This testcase is pretty consistent but it seems that it must be opened via > http:// not file:// I can reproduce this one! Unfortunately it's not related to opacity :( I filed bug 1467688 for this problem. Thanks Tyson!
Tyson, do you have any other test cases that cause the same crash? Especially including opacity property. It would be really helpful for us to debug this crash.
Flags: needinfo?(twsmith)
(In reply to Hiroyuki Ikezoe (:hiro) from comment #7) > Tyson, do you have any other test cases that cause the same crash? > Especially including opacity property. It would be really helpful for us to > debug this crash. It's hard to tell because the initial testcases are huge (512K or more) and it takes time to reduce them. Since the bug seems to be inconsistently reproducible that makes reduction take much longer. So if there are differences in the stack to look for that would be very helpful. Or if the issue manifests as an assertion as well that is easy to find in our backlog.
Flags: needinfo?(twsmith)
See Also: → 1468021
I believe this has been fixed by bug 1475769.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: