W3C home > Mailing lists > Public > public-xformsusers@w3.org > May 2018

Re: ACTION-2170: Suggest spec change for class on repeat.

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 08 May 2018 14:19:42 +0200
To: public-xformsusers@w3.org, "XForms Users Community Group Issue Tracker" <sysbot+tracker@w3.org>
Message-ID: <op.zio264kysmjzpq@steven-xps>
With
	<repeat class="foo" ref="list">
	    <output ref="."/><h:br/>
	</repeat>

this could be interpreted either to mean

	<group class="foo">
	  <output ref="list[1]"/><h:br/>
	  <output ref="list[2]"/><h:br/>
	  <output ref="list[3]"/><h:br/>
	</group>

or
	<group class="foo">
	  <output ref="list[1]"/><h:br/>
	</group>
	<group class="foo">
	  <output ref="list[2]"/><h:br/>
	</group>
	<group class="foo">
	  <output ref="list[3]"/><h:br/>
	</group>


While we don't formally define which of the two it is, I see that we have  
one example in the spec [1]:

	.list ::repeat-item {display: inline}

	<repeat class="list" ref="1 to 10">
	  <output ref="."/>
	</repeat>

which uses the first interpretation.

So, are we happy with making the first interpretation official?

Steven


[1]  
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Interaction_and_rendering

On Wed, 11 Apr 2018 15:33:25 +0200, XForms Users Community Group Issue  
Tracker <sysbot+tracker@w3.org> wrote:

> ACTION-2170: Suggest spec change for class on repeat.
>
> https://www.w3.org/2005/06/tracker/xforms/actions/2170
>
> Assigned to: Steven Pemberton
>
>
>
>
>
>
>
Received on Tuesday, 8 May 2018 12:20:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:49 UTC