Closed
Bug 1033375
Opened 10 years ago
Closed 9 years ago
Jagged borders on triangles made using borders in css
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1185636
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: nical, Assigned: lsalzman)
References
Details
Attachments
(4 files, 2 obsolete files)
Test case: http://css-tricks.com/snippets/css/css-triangle/ I can reproduce this on linux (nightly and stable). The border of the triangles is jagged while it should look like a proper triangle (see attachment). Looks good in chrome. I have seen this issue in other websites out there but this one seems like the most straightforward test case.
Comment 1•10 years ago
|
||
I feel like this might be a regression
Comment 2•10 years ago
|
||
This sounds familiar..... ah yes... is this the same as bug 805393 or bug 965966, maybe?
Comment 3•10 years ago
|
||
Or perhaps not; those bugs sounds more like they're just about antialiasing (or lack thereof), whereas here there are distinct periodic glitches.
Comment 4•10 years ago
|
||
I'm not sure if this is a related issue but I see similar issues with the downward arrow in the YouTube menu. In Chrome, it looks fine while not so in Firefox. Attaching screenshots.
Comment 5•10 years ago
|
||
This is how it looks in Nightly.
Comment 6•10 years ago
|
||
This seems to have been fixed somehow. Will close if someone can confirm this being fixed.
Comment 7•10 years ago
|
||
Never mind, I was confused. I didn't remember this was an issue on Linux. It was working for me on Windows :P
Comment 8•10 years ago
|
||
Not working on Windows if hardware acceleration is enabled.
Updated•9 years ago
|
Assignee: nobody → lsalzman
Assignee | ||
Comment 9•9 years ago
|
||
Apparently this is down to how Cairo backends that rely on the pixman fallback for gradients work. If this fallback gets used, then you get the pixel drop-outs observed. The CSS border rendering code in the triangle border test case was basically doing that - linear gradient with 2 stops set with offset 0.5. This patch works around this by noticing in the Cairo draw target is such a gradient was requesting, and nudging the offsets to occupy half a pixel to more or less anti-alias the gradient
Attachment #8625021 -
Flags: review?(nical.bugzilla)
Reporter | ||
Updated•9 years ago
|
Attachment #8625021 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Added some comments to document how the fix works and point back at the bug for posterity's sake (otherwise changed no code in patch)
Attachment #8625021 -
Attachment is obsolete: true
Attachment #8625554 -
Flags: review+
Assignee | ||
Comment 11•9 years ago
|
||
Try results: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a096bde6da55
Keywords: checkin-needed
Assignee | ||
Comment 12•9 years ago
|
||
Oops, some reftest failures on zero length gradients. Working on fix...
Keywords: checkin-needed
Assignee | ||
Comment 13•9 years ago
|
||
Fix zero-length gradient reftests Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=06a689e23285
Attachment #8625554 -
Attachment is obsolete: true
Attachment #8625596 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 14•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e8d2b0dd0ce
Keywords: checkin-needed
Comment 15•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9e8d2b0dd0ce
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Assignee | ||
Comment 16•9 years ago
|
||
Intentionally reverted patch as part of bug 1185636, due to the regression noticed in bug 1183506. Once the new border rendering in bug 1185636 lands, this will be addressed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•