W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: [css3-gcpm] Explanation of 'target-move' example

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 5 Apr 2007 10:58:54 +0200
Message-ID: <17940.47694.784793.994334@gargle.gargle.HOWL>
To: "Christian Roth" <roth@visualclick.de>
Cc: "www-style Mailing List" <www-style@w3.org>

Also sprach Christian Roth:

 > <http://www.w3.org/TR/2007/WD-css3-gcpm-20070205/#the-target-move>
 > 
 > The example code in 6.7, "The 'target-move' value", is utterly broken.

Yes, there is an unescaped '<' in there. The example should read:

  Consider this example: 

  <style>
  @media print {
    .footnote { 
       float: footnote; 
       content: target-move(attr(href, url)) }
    .footnote::footnote-call { content: counter(footnote, super-decimal) }
    .footnote::footnote-marker { content: counter(footnote, super-decimal) }
    .marker { display: none }
  }
  </style>
  ...
  <p>A sentence consists of words<a class="footnote" href="#words"> [3]</a>.
  ...
  <p id=words><span class="marker">[3]</span> Most often.

  As a result of the ''target-move'' value, the last p element is
  moved from its normal place of presentation and into the footnote.


 > Furthermore, I don't understand the grammar and semantics of this
 > sentence: "As a result of the 'target-move' value, the last p element is
 > moved from it normal place of presentation and into the footnote."

it->its

Thanks for pointing this out. 

Anything else?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 5 April 2007 09:59:05 GMT

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