Created attachment 9006385 [details] Firefox list-style-image moz crisp.html, not working on WR STR: 1. Be on a new profile and set gfx.webrender.all to true. 2. Use the example code on https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-image. 3. Set the ul style to image-rendering: -moz-crisp-edges 4. Zoom the Page. JSFiddle for example: https://jsfiddle.net/nf4krsqh/4/ or see attachment "Firefox list-style-image moz crisp.html" Expected Results: Image is pixelated and has sharp edges. Actual Results: Image is blurry. --- During the creation of the WR command for the BulletRenderer, the ImageRendering argument is always set to "Auto", see https://searchfox.org/mozilla-central/rev/5a18fb5aeeec99f1ca1c36a697082c221189a3b9/layout/generic/nsBulletFrame.cpp#500. Bug 1488555 requires the CreateImageKey call at https://searchfox.org/mozilla-central/rev/5a18fb5aeeec99f1ca1c36a697082c221189a3b9/layout/generic/nsBulletFrame.cpp#489 to provide the actual ImageRendering property. Therefore, this variable can also be used at the PushImage call. I will attach a patch that applies the needed changes.
Created attachment 9006393 [details] [diff] [review] 5-Bug_1488585___Use_ImageRendering_property_to_provide_proper_filtering_for_list_style_image_on_WR__r_nical.diff
Attachment #9006393 - Flags: review?(nical.bugzilla)
Assignee: nobody → h.winnemoeller
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9006393 - Flags: review?(nical.bugzilla) → review+
Created attachment 9007015 [details] [diff] [review] 5___Use_ImageRendering_property_to_provide_proper_filtering_for_list_style_image_on_WR__r_nical.diff
Attachment #9006393 - Attachment is obsolete: true
Has to be checked in once Bug 1488555 has landed.
Created attachment 9007350 [details] [diff] [review] 3-Bug_1488585___Use_ImageRendering_property_to_provide_proper_filtering_for_list_style_image_on_WR__r_nical.diff
Attachment #9007015 - Attachment is obsolete: true
Should only be checked in >after< Bug 1488555 has landed.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a79ed7cdda37 Use ImageRendering property to provide proper filtering for list-style-image on WR. r=nical
Status: ASSIGNED → RESOLVED
Last Resolved: 5 months ago
status-firefox64: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.