[Webkit-unassigned] [Bug 56627] New: implement image-rendering: optimize-contrast (with a vendor prefix) as defined in CSS3 image values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 22:55:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56627

           Summary: implement image-rendering: optimize-contrast (with a
                    vendor prefix) as defined in CSS3 image values
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.grantgalitz.org/gameboy/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jamesr at chromium.org
                CC: simon.fraser at apple.com, ojan at chromium.org,
                    mikelawther at chromium.org


http://dev.w3.org/csswg/css3-images/#image-rendering defines the image-rendering property and a new value 'optimize-contrast' to use for image like data where a nearest-neighbor style scaling is desirable.  This is similar to the -moz-crisp-edges value that firefox exposes (https://developer.mozilla.org/en/css/image-rendering).  Implementing this would be a big performance and quality improvements for pages like the GameBoy emulator in the URL field - that page scales the <canvas> element in CSS. Currently we waste a lot of CPU doing a bilinear filter for the upscale and as a result the pixels look blurry.

There was a bit of controversy in the working group about the name for the optimize-contrast value, so I think we should vendor-prefix the optimize-contrast value for now.  The image-rendering property already exists for SVG content and so we don't need to prefix that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list