Support denormalized color-lines in COLRv1 radial gradients
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(2 files)
The implementation of radial gradients landed in bug 1740530 does not account for cases when the color line used to define the gradient has a range other than [0..1]. We do handle such color lines for linear and sweep gradients; we should do the same for radial gradients.
(I'm currently discussing this with Dominik at Google, who is working on the same issue for Chrome, to ensure that we converge on an interoperable result.)
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Posting a WIP patch, but not flagging for review yet (pending discussion with Dominik of the expected rendering).
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
The glyphs "b" and "c" here have radial gradients with non-[0..1] color stop ranges,
and are compared against versions with equivalent normalized gradients.
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bddde4931caa Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/7b0739cd3f8f Add a reftest. r=gfx-reviewers,lsalzman
Comment 5•2 years ago
|
||
Backed out 4 changesets (bug 1786050, bug 1786796) for causing reftest failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/842fcf23f8d1d0f5ddd4788ebcd8a6fe3772040c
Backout by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/2895842928e9 Backed out 4 changesets (bug 1786050, bug 1786796) for causing reftest failures. CLOSED TREE
Assignee | ||
Comment 7•2 years ago
|
||
Ah, the new test depends on a variation font, which isn't supported on Win7. Adding a skip-if annotation.
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d1b659b291 Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/23314917bc22 Add a reftest. r=gfx-reviewers,lsalzman
Comment 9•2 years ago
|
||
Backed out for causing reftest failure at font-error-404-2.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/1f82228e7cc6f7d6a179d3afaf01d947c28fe740
Failure log: https://treeherder.mozilla.org/logviewer?job_id=388486741&repo=autoland&lineNumber=18256
Assignee | ||
Comment 10•2 years ago
|
||
Re-landing with the spuriously-failing tests annotated, per bug 1786796 comment 9.
Comment 11•2 years ago
|
||
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5548555aec8e Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/8369aba15231 Add a reftest. r=gfx-reviewers,lsalzman
Comment 12•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5548555aec8e
https://hg.mozilla.org/mozilla-central/rev/8369aba15231
Description
•