[CSS21] WD 07 Dec. 2010: small code error in section 5.12.2 (The Economist example)

Hello,

5.12.2 The :first-letter pseudo-element
http://www.w3.org/TR/CSS21/selector.html#first-letter

gives

...
  <TITLE>Drop cap initial letter</TITLE>
  <STYLE type="text/css">
   P              { font-size: 12pt; line-height: 1.2 }
   P:first-letter { font-size: 200%; font-style: italic;
                    font-weight: bold; float: left }
   SPAN           { text-transform: uppercase }
  </STYLE>
 </HEAD>
 <BODY>
  <P><SPAN>The first</SPAN> few words of an article
    in The Economist.</P>
...


but after testing and comparing with screenshot
http://www.w3.org/TR/CSS21/images/first-letter.png
font-style: italic;
should be removed.

s/font-size: 200%; font-style: italic;/font-size: 200%;/

Gérard
-- 
CSS 2.1 Test suite RC5 (January 11th 2011)
http://test.csswg.org/suites/css2.1/20110111/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Friday, 4 March 2011 18:57:39 UTC