[whatwg] [wf2] repetition model addition part

If you have:

 <body>
  before
  <div id="order" repeat="template" repeat-start="1">
   test
  </div>
  after
 </body>

The resulting tree is something like:

 <body>
  <div>
   test
  </div>
  before
  <div id="order" repeat="template" repeat-start="1">
   test
  </div>
  after
 </body>

... right? If you apply the same logic to tables, you get ugly results:

 <table>
  <tr>
   <th>amount<th>type
  <tr id="order" repeat="template" repeat-start="1">
   <td>foo<th>bar
 </table>

... becomes:

 <table>
  <tr>
   <td>foo<th>bar
  <tr>
   <th>amount<th>type
  <tr id="order" repeat="template" repeat-start="1">
   <td>foo<th>bar
 </table>

Same thing happens I guess when you have additional rows with repeat="{integer}"
set I guess.

(It might also be that I got lost somewhere in the specification. As it is quite
difficult to follow with 18 different steps. (Based on the source version.))


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Tuesday, 19 July 2005 04:31:29 UTC