W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2009

ISSUE-2238 (switch-allowReorder): Add @allowReorder to <switch> [SVG Core 2.0]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Thu, 19 Mar 2009 04:19:26 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20090319041926.ABBB56B62D@tibor.w3.org>

ISSUE-2238 (switch-allowReorder): Add @allowReorder to <switch> [SVG Core 2.0]


Raised by: Doug Schepers
On product: SVG Core 2.0

Per SMIL 3.0:

Authors should order the alternatives from the most desirable to the least desirable. Furthermore, authors may wish to place a relatively fail-safe alternative as the last item in the switch so that at least one item within the switch is chosen (unless this is explicitly not desired). If all alternatives are equivalent an author should signal this through the allowReorder attribute on the switch, this gives the user agent the freedom to pick the best match (as opposed to the first match).
]] [1]


The allowReorder Attribute

The allowReorder attribute signals whether a user agent may reorder the direct descendents of the switch element, based on user preferences, if it thinks this could lead to a better user experience.

The possible values are 'no', the default, disallowing reordering and 'yes', allowing reordering.

This section is informative.

User agents are free to ignore the allowReorder attribute, but if they implement prioritized language ranges as defined in BCP47 [BCP47] they are expected to use that prioritization to reorder children with systemLanguage attributes. The effect should be that the users are presented with the alternative that best matches their language preferences. Any final child without systemLanguage attribute should retain its place as the default item to present.

Authors should add the allowReorder attribute if all items in the switch are equivalent.
]] [2]

[1] http://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-content.html#q6
[2] http://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-content.html#adef-allowReorder
Received on Thursday, 19 March 2009 04:19:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:10 UTC