[Webkit-unassigned] [Bug 50797] New: canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-6.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 9 18:40:22 PST 2010


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

           Summary: canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-6.
                    html fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihaip at chromium.org
                CC: mdelaney at apple.com


This tests checks that we don't allow the invalid color value "rgba(255, 0, 0, 1.)" to be used as fillStyle. We actually allow this, even though 1. is not a valid CSS <alphavalue> (which is a <number>, which is defined as "A <number> can either be an <integer>, or it can be zero or more digits followed by a dot (.) followed by one or more digits." at http://www.w3.org/TR/css3-values/#numbers).

Since this would involve making our CSS color parser stricter, I'm not sure that this is worth fixing.

-- 
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