Closed Bug 1626840 Opened 4 years ago Closed 4 years ago

Graphical clipping/tearing on right edge of the screen

Categories

(Core :: Web Painting, defect)

74 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla76
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- wontfix
firefox75 --- verified
firefox76 --- verified

People

(Reporter: odymind, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Steps to reproduce:

See https://miniature.to/home/
Visuals are created in CSS. 3D transform (rotate/translate) or overflow might be the cupid.

Actual results:

Graphics on right edge is clipped/teared off.

Expected results:

See Firefox 73 (or earlier) or other browsers for how it should look properly.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics
Product: Firefox → Core

I can reproduce the issue on Nightly76.0a1 Windows10 with/without WebRender and safe mode.

When mouse drag to the right hand side or zoom by clicking (+) icon,

*without WebRender or safe mode:
wall paper, staircase, door, woman, potted plant, furniture and label are truncated

*with WebRender:
woman, potted plant and label are truncated

Regression Window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8e3be55481b952ed17d24c1d50f5f59b9996e480&tochange=bd533d780ee7970ac5590fb7f4247e197e621733

Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Ever confirmed: true
Keywords: regression
OS: Unspecified → All
Regressed by: 1613490
Hardware: Unspecified → All
Component: Graphics → Web Painting
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Attached file reduced

(The reduced test-case works in WR, but displays nothing in non-WR. I suspect it's the same underlying issue though).

Clearly WPT doesn't have enough preserve3d tests :(

This was being used by the overflow computation, which computed a too-tight
overflow, and thus clipped too much. Test fails without the patch as expected.

Comment on attachment 9137713 [details]
Bug 1626840 - Use the right reference box for preserve-3d children. r=miko

Beta/Release Uplift Approval Request

  • User impact if declined: Pages with 3d content may get wrong clipping.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): one-line change + test
  • String changes made/needed: none
Flags: needinfo?(emilio)
Attachment #9137713 - Flags: approval-mozilla-release?
Attachment #9137713 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d29e079a13eb
Use the right reference box for preserve-3d children. r=miko
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22651 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Attachment #9137713 - Flags: approval-mozilla-beta?
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

Comment on attachment 9137713 [details]
Bug 1626840 - Use the right reference box for preserve-3d children. r=miko

Approving for 75.0rc2 on Julien's behalf.

Attachment #9137713 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [qa-triaged]

Reproduced the initial issue in release version 74 using Windows 10.
Verified - Fixed in latest Nightly 76.0a1 (2020-04-03) and 75.0rc2 (build id: 20200403043714) using Windows 10 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: