ISSUE-2238: Add @allowReorder to <switch>

switch-allowReorder

Add @allowReorder to <switch>

State:
RAISED
Product:
SVG 2
Raised by:
Doug Schepers
Opened on:
2009-03-19
Description:
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]

and

[[
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]

Note that this language is a bit unclear and doesn't use normative language, so though we should reference it, we should also make it clearer. Also, they seem to make it optional, which SVG should not.

We should also look into tests the SMIL WG may have produced for this.


[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
Related Actions Items:
Related emails:
  1. Minutes F2F Pyrmont, Sydney day 1 (04/01/2013) (from cyril.concolato@telecom-paristech.fr on 2013-02-04)
  2. Fwd: Minutes, SVG f2f Mountain View, Thurs 27 Oct 2011 (from cam@mcc.id.au on 2011-10-28)
  3. minutes, SVG Working Group Mountain View F2F, day 2 (from cam@mcc.id.au on 2011-10-28)
  4. Minutes, SVG f2f Mountain View, Thurs 27 Oct 2011 (from chris@w3.org on 2011-10-28)
  5. Minutes, March 19 2009 telcon (from cam@mcc.id.au on 2009-03-20)
  6. ISSUE-2238 (switch-allowReorder): Add @allowReorder to <switch> [SVG Core 2.0] (from sysbot+tracker@w3.org on 2009-03-19)

Related notes:

http://lists.w3.org/Archives/Public/www-svg/2009Mar/0166.html

Doug Schepers, 19 Mar 2009, 04:23:18

ISSUE-2189 is a dupe of this one.

Cameron McCormack, 30 Aug 2011, 04:14:50

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $