<?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>12307</bug_id>
          
          <creation_ts>2011-03-15 15:46:27 +0000</creation_ts>
          <short_desc>Error &apos;0 is not a box-shadow value&apos; validating CSS 3</short_desc>
          <delta_ts>2012-08-30 17:58:05 +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>All</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="Ted Roche">tedroche</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>cory</cc>
    
    <cc>info</cc>
          
          <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>46720</commentid>
    <comment_count>0</comment_count>
    <who name="Ted Roche">tedroche</who>
    <bug_when>2011-03-15 15:46:27 +0000</bug_when>
    <thetext>Traditional sizing allows a zero value to be specified without unit, but failing to specify a unit for the first argument of box-shadow causes the validator to fail.

The CSS declaration:

nav ul ul { box-shadow:0 3px 3px #C0C0C0; -moz-box-shadow:0 3px 3px #C0C0C0; -webkit-box-shadow:0 3px 3px #C0C0C0; display:none; position:absolute; top:38px; left:0; float:left; width:180px; z-index:99999; }

fails with the validation error &apos;0 is not a box-shadow value&apos; while:

nav ul ul { box-shadow:0px 3px 3px #C0C0C0; -moz-box-shadow:0px 3px 3px #C0C0C0; -webkit-box-shadow:0px 3px 3px #C0C0C0; display:none; position:absolute; top:38px; left:0; float:left; width:180px; z-index:99999; }

validates. (Other units appear to work as well.)

Original source is from https://github.com/richardshepherd/TwentyTenFive/blob/master/style.css, line 36, with the rgba() call changed, as that doesn&apos;t validate per the bug listed below:

Possibly related: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11880</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60690</commentid>
    <comment_count>1</comment_count>
    <who name="Hans Christian Reinl">info</who>
    <bug_when>2011-11-30 18:09:05 +0000</bug_when>
    <thetext>The error &apos;0 is not a value&apos; for box-shadow declarations still exits.
Any update or possible change to solve this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73075</commentid>
    <comment_count>2</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2012-08-30 17:58:05 +0000</bug_when>
    <thetext>Fixed when box-shadow was reimplemented</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>