Closed Bug 1488585 Opened 3 years ago Closed 3 years ago
Rendering on list-style-image property
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.
Assignee: nobody → h.winnemoeller
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9006393 - Flags: review?(nical.bugzilla) → review+
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
You need to log in before you can comment on or make changes to this bug.