Open Bug 1830603 Opened 2 years ago Updated 1 month ago

background clipping with border-radius is broken in WebRender

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Tracking Status
firefox-esr102 --- wontfix
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- wontfix
firefox115 --- wontfix

People

(Reporter: Oriol, Unassigned)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: correctness, parity-chrome, regression)

Attachments

(3 files)

Attached file testcase.html

Load testcase.
The cyan background is clipped with background-clip set to padding-box or content-box.
Therefore, it shouldn't overlap the magenta border.
But they can overlap when using border-radius.
This didn't happen before WebRender.

Attached image bad (Gecko)
Attached image good (Blink)
Summary: Bad background clipping with border-radius is broken in WebRender → background clipping with border-radius is broken in WebRender

KDE Wayland, Debian Testing, Intel
When the turquoise part became as misplaced as today:
MOZ_DISABLE_CONTENT_SANDBOX=1 mozregression --good 2017-10-10 --bad 2018-01-01 --pref gfx.webrender.all:true layers.acceleration.force-enabled:true gfx.webrender.enabled:true gfx.webrendest.enabled:true gfx.webrender.layers-free:true gfx.webrender.blob-images:true image.mem.shared:true layout.display-list.retain:false -a https://bug1830603.bmoattachments.org/attachment.cgi?id=9330872

2:49.71 INFO: Last good revision: 7c4579e705c4a3a3610183fe6f44affff3ad57ef (2017-12-19)
2:49.71 INFO: First bad revision: 62dd5404cf55e29412d5fff8fe9105076b1ca437 (2017-12-20)
2:49.71 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7c4579e705c4a3a3610183fe6f44affff3ad57ef&tochange=62dd5404cf55e29412d5fff8fe9105076b1ca437

autoland builds are gone.
Likely:

16240aca46cbdcc67b48e5f47bfc92ef852a3e70 Kartikaya Gupta — Bug 1424631 - Update webrender to commit 1142dfc557c319119a5117450718c5b67a93cb9f. r=jrmuizel

= https://github.com/servo/webrender/compare/f9bc4a5c263e707e3498bea47d3ec9096cc3d099...1142dfc557c319119a5117450718c5b67a93cb9f


When the pink border temporarily became darker at 4 overlapping places:
MOZ_DISABLE_CONTENT_SANDBOX=1 mozregression --good 2017-01-01 --bad 2018-01-01 --pref gfx.webrender.all:true layers.acceleration.force-enabled:true gfx.webrender.enabled:true gfx.webrendest.enabled:true gfx.webrender.layers-free:true gfx.webrender.blob-images:true image.mem.shared:true layout.display-list.retain:false -a https://bug1830603.bmoattachments.org/attachment.cgi?id=9330872

6:14.18 INFO: Last good revision: 8e98dab5054dd093a37ba20c62cf0523e484cfbd (2017-05-19)
6:14.18 INFO: First bad revision: 8d60d0f825110cfb646ac31dc16dc011708bcf34 (2017-05-20)
6:14.18 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8e98dab5054dd093a37ba20c62cf0523e484cfbd&tochange=8d60d0f825110cfb646ac31dc16dc011708bcf34

OS: Unspecified → All
Regressed by: 1424631
Hardware: Unspecified → All

:kats, since you are the author of the regressor, bug 1424631, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(kats)
Severity: -- → S3
Flags: needinfo?(gwatson)

Set release status flags based on info from the regressing bug 1424631

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: