Closed Bug 1567472 Opened 5 years ago Closed 5 years ago

background-image is rendered over foreground content with transform-style: preserve-3d

Categories

(Core :: Graphics: WebRender, defect, P2)

69 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- fixed
firefox70 --- fixed

People

(Reporter: mikokm, Assigned: gw)

References

(Regression)

Details

(Keywords: correctness, regression)

Attachments

(2 files)

Attached file bg-image.html

Simplified testcase attached.

Flags: needinfo?(gwatson)
Has Regression Range: --- → yes
Has STR: --- → yes
Keywords: correctness
OS: Unspecified → All
Hardware: Unspecified → All
Blocks: wr-69

This was regressed by bug 1558106

Assignee: nobody → gwatson

Confirmed that disabling picture caching fixes this. I'll investigate today.

Flags: needinfo?(gwatson)

The code to batch preserve-3d elements was incorrectly using the
bounds and visibility mask from the parent element. This could
result in batching bugs in some cases, which were showing up as
draw order issues.

Priority: -- → P2
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e77f396d5eb8
Fix bug in preserve-3d batching code in WebRender. r=nical
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

Comment on attachment 9079651 [details]
Bug 1567472 - Fix bug in preserve-3d batching code in WebRender.

Beta/Release Uplift Approval Request

  • User impact if declined: Incorrect rendering in some cases for users running WebRender
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It's a very small patch (2 lines), and only affects users enrolled in WebRender.
  • String changes made/needed:
Attachment #9079651 - Flags: approval-mozilla-beta?

Comment on attachment 9079651 [details]
Bug 1567472 - Fix bug in preserve-3d batching code in WebRender.

Fixes a rendering regression for some sites with WebRender enabled. Approved for 69.0b8.

Attachment #9079651 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: