Open Bug 1452337 Opened 6 years ago Updated 17 days ago

Reddit vote buttons have glitches at the edges

Categories

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

Unspecified
All
defect

Tracking

()

Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- disabled
firefox59 --- disabled
firefox60 --- disabled
firefox61 --- disabled
firefox62 --- disabled

People

(Reporter: crendking, Assigned: aosmond)

References

(Blocks 3 open bugs, )

Details

(Keywords: correctness, nightly-community, regression, Whiteboard: [sci-exclude])

Attachments

(3 files)

Attached image vote.png
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180406220121

Steps to reproduce:

1. Go to https://www.reddit.com/r/firefox/


Actual results:

Observe that the black vote buttons have glitches at the right and bottom edges (see enlarged screenshots)


Expected results:

The edges should be clean (as demonstrated in the screenshots)
Debian Testing, KDE, Radeon RX480, 2560x1440
at 110% zoom and higher zoom levels. Does not happen without WebRender.

mozregression --good 2017-05-05 --bad 2017-07-05 --pref layers.acceleration.force-enabled:true gfx.webrender.enabled:true gfx.webrendest.enabled:true gfx.webrender.blob-images:true image.mem.shared:true layout.display-list.retain:false startup.homepage_welcome_url:"https://www.reddit.com/r/firefox/"
> 7:01.24 INFO: Last good revision: 5a8f2dcbeac0677b5aae0f9fd43d6a33309b4a6b
> 7:01.24 INFO: First bad revision: 979f11deabd01d6cb897d064d3d9ed11ea8baa93
> 7:01.24 INFO: Pushlog:
> https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5a8f2dcbeac0677b5aae0f9fd43d6a33309b4a6b&tochange=979f11deabd01d6cb897d064d3d9ed11ea8baa93
> 
> 7:02.69 ERROR: Unable to exploit the merge commit. Origin branch is mozilla-central, and the commit message for 979f11de was:
> Merge graphics to m-c a=merge a=release
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Version: 61 Branch → Trunk
Reconfirmed with proprietary GTX 1060 on Debian Testing.
PhpMyAdmin is also affected by this.
Assignee: nobody → aosmond
Looks like the arrows are pulled out of a larger resource, and we are getting part of the blue down arrow positioned below the black arrow spilling over. See https://b.thumbs.redditmedia.com/cHIY4EWAoBDdYwoV74ejKQRlpMs7ibQO2EcfRSR7NpQ.png.
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #3)
> Created attachment 8984998 [details]
> Screenshot_20180612_164631.png
> 
> PhpMyAdmin is also affected by this.

Looking at their demo at https://demo.phpmyadmin.net/master-config/, the images are broken out now so I don't see it, but I'm guessing that changed and it is the same problem.
Thank you for sharing the discovery. In fact, if we change the icon size from 17x17 to 18x18 in CSS, even without WebRender we can still see the glitch.
Just contains the poorly sampled arrow.
So here's a more elaborate test case: https://jrmuizel.github.io/implementation-tests/background-leaking.html

Edge seems to have the same behaviour as us. So I'm inclined to not block on this. Chrome and Safari both clamp to the source rect so we should probably do that in the future.
Blocks: stage-wr-next
No longer blocks: stage-wr-trains
Please re-test bug 1447093 after fixing this, it's probably the same issue.
Blocks: 1447093
See Also: → 1486377
Priority: P1 → P3
Whiteboard: [sci-exclude]
Blocks: 1782834
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: