W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2007

validation fails, used to pass on these items...

From: William O. Yates <hackware@tru2life.net>
Date: Sun, 30 Dec 2007 06:38:31 -0800 (PST)
To: www-validator-css@w3.org
Cc:
Message-Id: <1199025511.92457@ns3.tru2life.net>

I wonder why the following now fail css validation.  They used to pass, and are DIRECT from css docs...

URI : http://tru2life.info/validation.html
18 	SPAN.glow 	Value Error : text-shadow Property text-shadow doesn't exist : black 0 0 5px
20 	H1 	Value Error : text-shadow Property text-shadow doesn't exist : 0.2em 0.2em
21 	H2 	Value Error : text-shadow Property text-shadow doesn't exist : 3px 3px 5px red
22 	H2 	Value Error : text-shadow Property text-shadow doesn't exist : 3px 3px red,yellow -3px 3px 2px,3px -3px

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
  <title> css validation errors </title>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <style type="text/css">
    /*
    **------------------------------------------------------------------------
    ** straight from www.w3.org css docs
    **
    ** 16.3.2 Text shadows: the 'text-shadow' property
    ** [ http://www.w3.org/TR/REC-CSS2/text.html#text-shadow-props ]
    **------------------------------------------------------------------------
    */
    SPAN.glow {
      background: white;
      color: white;
      text-shadow: black 0px 0px 5px;
    }
    H1 { text-shadow: 0.2em 0.2em }
    H2 { text-shadow: 3px 3px 5px red }
    H2 { text-shadow: 3px 3px red, yellow -3px 3px 2px, 3px -3px }
  </style>
</head>
<!--=======================================================================-->
<body>
<div>
  <h1> css validation errors </h1>
  <a href="http://validator.w3.org/check?uri=referer">
    <img src="/icons2/valid-html401" alt="Valid HTML 4.01!">
  </a>
  <a href="http://jigsaw.w3.org/css-validator/check/referer">
    <img src="/icons2/vcss.png" alt="Valid CSS!">
  </a>
</div>
</body>
</html>

..william.o.yates...hackware.at.tru2life.net...tru2life.info...
Received on Sunday, 30 December 2007 13:10:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT