<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15988</bug_id>
          
          <creation_ts>2012-02-14 21:09:59 +0000</creation_ts>
          <short_desc>box-shadow with 4 lengths yields &quot;Parse Error [empty string]&quot;</short_desc>
          <delta_ts>2012-09-03 21:12:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 3</component>
          <version>CSS Validator</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean Rajotte">jean</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64119</commentid>
    <comment_count>0</comment_count>
    <who name="Jean Rajotte">jean</who>
    <bug_when>2012-02-14 21:09:59 +0000</bug_when>
    <thetext>The following valid snippet causes the validator to complain of a Parse Error:

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

Replace &quot;-2px&quot; with &quot;2px&quot; and there&apos;s still an error -- it&apos;s not the &quot;-&quot;.
Remove the &quot;-2px&quot; and there&apos;s no error.

Therefore it&apos;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 | &lt;shadow&gt; [ , &lt;shadow&gt; ]*
&lt;shadow&gt; = inset? &amp;&amp; [ &lt;length&gt;{2,4} &amp;&amp; &lt;color&gt;? ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73172</commentid>
    <comment_count>1</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2012-09-03 21:12:59 +0000</bug_when>
    <thetext>fixed when box-shadow was re-implemented.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>