Closed
Bug 1488585
Opened 6 years ago
Closed 6 years ago
Support ImageRendering on list-style-image property
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: h.winnemoeller, Assigned: h.winnemoeller)
References
Details
Attachments
(2 files, 2 obsolete files)
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 | ||
Comment 1•6 years ago
|
||
Attachment #9006393 -
Flags: review?(nical.bugzilla)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → h.winnemoeller
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•6 years ago
|
Attachment #9006393 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 2•6 years ago
|
||
Attachment #9006393 -
Attachment is obsolete: true
Assignee | ||
Comment 3•6 years ago
|
||
Has to be checked in once Bug 1488555 has landed.
Keywords: checkin-needed
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•6 years ago
|
||
Attachment #9007015 -
Attachment is obsolete: true
Assignee | ||
Comment 5•6 years ago
|
||
Should only be checked in >after< Bug 1488555 has landed.
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by apavel@mozilla.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
Keywords: checkin-needed
Comment 7•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•