repeat-item property

Image Tutorials

Definition and Usage

The ::repeat-item pseudo-element represents a single item from a repeating sequence. It is generated as a parent to all the elements in a single repeating item. Each ::repeat-item is associated with a particular instance data node, and is affected by the model item properties (e.g. ‘relevant’) found there, as the related style properties will cascade to the child elements.


Syntax

element:repeat-item { style properties }

Examples

1 <html:table xforms:repeat-nodeset="...">
2    <html:tr>
3       <html:td><xforms:input ref="..."/><xforms:input ref="..."/></html:td>
4    </html:tr>
5 </html:table>
1 html|tr::repeat-item { outlinemedium solidcolor:gray }
2 html|tr::repeat-index { outlinemedium dashedcolor:black }

Rate article