W3C home > Mailing lists > Public > www-style@w3.org > March 2005

[css2.1] 16.3 Decoration

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 18 Mar 2005 11:37:10 +0100
Message-ID: <423AAF56.9050401@annevankesteren.nl>
To: W3C CSS List <www-style@w3.org>

The example given in that section does not match implementations. When I 
test:

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  <style type="text/css">
   blockquote { text-decoration: underline; color: blue; }
   em { display: block; }
   cite { color: fuchsia; }
  </style>
  <blockquote>
   <p>
    <span>
     Help, help!
     <em> I am under a hat! </em>
     <cite> —GwieF </cite>
    </span>
   </p>
  </blockquote>

... in a recent nightly build of Mozilla, Opera 8 beta 3, Internet 
Explorer 6 all show the same result but not what the CSS 2.1 
specification describes.

All underline the EM element as well, although CSS 2.1 specifies they 
should not.

As one of the goals of CSS 2.1 is to match implementations better to 
create an interoperable specification I think this section should be 
revised on one way or another.


[1]<http://www.w3.org/TR/CSS21/text.html#q3>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 18 March 2005 10:37:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT