css image-rendering not applying to border-image
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | verified |
People
(Reporter: jsnkuhn, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
https://codepen.io/jsnkuhn/pen/ExWGVeP?editors=1100
Actual results:
css border-image
renders blury from border-image-size scaling. Attempted to counteract this with css image-rendering: crisp-edges;
. Image appearance remained blury and stretched in Firefox.
Expected results:
image-rendering: crisp-edges;
should clean up the blury border-image to a pixelated looking state. This is working properly in chrome with image-rendering: pixelated;
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
We seem to be getting the image rendering value here
in the border image rendering code, but it doesn't seem to be taking effect.
Not sure if this is helpful for triage but... image-rendering
does apply to mask-image
: https://jsbin.com/vobehaxiqu/edit?html,css,output
So still seems that this bug is specifically an issue with image-rendering
and border-image
.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Hey all, thanks for looking at this! Should let you know that the border-image-source
linked in that Codepen is a dialog border from Chrono Trigger on the SNES so for copyright reasons it should probably be replaced if your going to make a WPT. Will attach a similar image without the copyright issues.
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
(In reply to jsnkuhn from comment #8)
Hey all, thanks for looking at this! Should let you know that the
border-image-source
linked in that Codepen is a dialog border from Chrono Trigger on the SNES so for copyright reasons it should probably be replaced if your going to make a WPT. Will attach a similar image without the copyright issues.
Thank you!
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b75104a08cb3
https://hg.mozilla.org/mozilla-central/rev/f8bd89f87dce
https://hg.mozilla.org/mozilla-central/rev/da5523522f5f
Reporter | ||
Comment 13•3 years ago
|
||
can confirm border-image
is no longer blurry in Firefox Nightly!
Updated•3 years ago
|
Comment 15•3 years ago
|
||
I've reproduced the bug using an affected Nightly build, 91.0a1 (20210614215408). Tested with STR from comment 0, on macOS 11.
The issue is verified as fixed on latest Beta 97.0b8, across platforms: Win 10 x64, macOS 11 and Ubuntu 18.04 x64.
Description
•