[Bug 20555] New: "unknown" error when unit is omitted in linear-gradient color-stop

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20555

            Bug ID: 20555
           Summary: "unknown" error when unit is omitted in
                    linear-gradient color-stop
    Classification: Unclassified
           Product: CSSValidator
           Version: CSS Validator
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 3
          Assignee: dave.null@w3.org
          Reporter: andreaslindpetersen@gmail.com
        QA Contact: www-validator-cvs@w3.org

The CSS validator at http://jigsaw.w3.org/css-validator/ outputs an "unknown"
error if the percent sign is omitted in a linear-gradient color stop:

body {
    background: linear-gradient(100deg, white 0, black 100%);
}

Whereas this validates fine:

body {
    background: linear-gradient(100deg, white 0%, black 100%);
}

The way I read the spec it's OK to omit the unit:
http://dev.w3.org/csswg/css3-images/#linear-gradients

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 3 January 2013 16:08:24 UTC