Value Error : content Parse Error attr(title)

Thiers <[email protected]> Sun, 28 Jun 2015 20:05:51 +1200
Newsgroups gmane.org.w3c.validator.css
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--Boundary_(ID_V8Pw/SGj2YRNp7aNBENYSA)
Content-type: text/plain; charset=utf-8; format=flowed
Content-transfer-encoding: 7BIT

For several years I've successfully used the following css to format 
page numbers in books I've digitized for Project Gutenberg:

    .pagenum  {
         position: absolute;
         left: 92%;
         font-size: 11px;
         font-weight: normal;
         font-style: normal;
         font-variant: normal;
         text-align: right;
         color: #585858;
    }

    span[title].pagenum:after {
         content: attr(title);
    }

    a[name] {
         position:absolute;     /* Fix Opera bug */
    }

and typical HTML:

    <p><span class="pagenum" title="9"></span><a name="Page_9"
    id="Page_9"></a></p>



However the latest book (using the same css) failed to validate and 
produced the following error message:

    span[title].pagenum:after                          Value Error :
    content Parse Error attr(title)


I subsequently checked books that I'd done previously (which all 
validated at the time) and found that they too now fail to validate and 
produce the same error message.

I'd appreciate your advice.

Thiers Halliwell

--Boundary_(ID_V8Pw/SGj2YRNp7aNBENYSA)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: 8BIT

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Calibri">For several years I've successfully used the
      following css to format page numbers in books I've digitized for
      Project Gutenberg:<br>
    </font>
    <blockquote><font face="Calibri">.pagenum  {</font><br>
      <font face="Calibri">    position: absolute;</font><br>
      <font face="Calibri">    left: 92%;</font><br>
      <font face="Calibri">    font-size: 11px;</font><br>
      <font face="Calibri">    font-weight: normal;</font><br>
      <font face="Calibri">    font-style: normal;</font><br>
      <font face="Calibri">    font-variant: normal;</font><br>
      <font face="Calibri">    text-align: right;</font><br>
      <font face="Calibri">    color: #585858;</font><br>
      <font face="Calibri">}</font><br>
      <br>
      <font face="Calibri">span[title].pagenum:after {</font><br>
      <font face="Calibri">    content: attr(title);</font><br>
      <font face="Calibri">}</font><br>
      <br>
      <font face="Calibri">a[name] {</font><br>
      <font face="Calibri">    position:absolute;     /* Fix Opera bug 
        */</font><br>
      <font face="Calibri">}</font><br>
    </blockquote>
    <font face="Calibri">and typical HTML:<br>
    </font>
    <blockquote><font face="Calibri">&lt;p&gt;&lt;span class="pagenum"
        title="9"&gt;&lt;/span&gt;&lt;a name="Page_9"
        id="Page_9"&gt;&lt;/a&gt;&lt;/p&gt;</font><br>
    </blockquote>
    <font face="Calibri"><br>
      <br>
      However the latest book (using the same css) failed to validate
      and produced the following error message:</font><br>
    <blockquote>span[title].pagenum:after                          Value
      Error : content Parse Error <span class="unrecognized">
        attr(title)</span><br>
      <span class="unrecognized"></span></blockquote>
    <span class="unrecognized"><br>
      I subsequently checked books that I'd done previously (which all
      validated at the time) and found that they too now fail to
      validate and produce the same error message.<br>
      <br>
      I'd appreciate your advice.<br>
      <br>
      Thiers Halliwell<br>
    </span>
  </body>
</html>

--Boundary_(ID_V8Pw/SGj2YRNp7aNBENYSA)--