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

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 UTC