[Webkit-unassigned] [Bug 52259] New: [CSS Gradients] One color stop should not paint anything for linear-gradient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 11 15:56:07 PST 2011


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

           Summary: [CSS Gradients] One color stop should not paint
                    anything for linear-gradient
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rchl2k at gmail.com
                CC: simon.fraser at apple.com


Spec http://dev.w3.org/csswg/css3-images/#linear-gradients specifies syntax as:

<linear-gradient> = linear-gradient(
    [ 
        [ [top | bottom] || [left | right] ] 
        || 
        <angle>
    ,]? 
    <color-stop>[, <color-stop>]+
);

which means there must be at least 2 color stops. I assume one shouldn't cause rule to be ignored. Currently it works in webkit.

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