[Bug 15988] New: box-shadow with 4 lengths yields "Parse Error [empty string]"

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

           Summary: box-shadow with 4 lengths yields "Parse Error [empty
                    string]"
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 3
        AssignedTo: dave.null@w3.org
        ReportedBy: jean@lalabobo.net
         QAContact: www-validator-cvs@w3.org


The following valid snippet causes the validator to complain of a Parse Error:

.frozenY { box-shadow: 0px 2px 4px -2px #BBB; }

Replace "-2px" with "2px" and there's still an error -- it's not the "-".
Remove the "-2px" and there's no error.

Therefore it's 4 lengths that are seen as illegal.

The browser (Chrome, FF) renders the shadow as designed, and according to
http://www.css3.info/preview/box-shadow/  this is valid CSS:

box-shadow: none | <shadow> [ , <shadow> ]*
<shadow> = inset? && [ <length>{2,4} && <color>? ]

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 14 February 2012 21:10:01 UTC