ACTION-2676: Fix the 1.1 second edition wording for values that are accessed where no attribute was provided, http://dev.w3.org/SVG/profiles/1.1F2/publish/svgdom.html#SVGDOMOverview and have it be NaN or 0 with unknown unit depending on the type of domobject

Fix the 1.1 second edition wording for values that are accessed where no attribute was provided, http://dev.w3.org/SVG/profiles/1.1F2/publish/svgdom.html#SVGDOMOverview and have it be NaN or 0 with unknown unit depending on the type of domobject

State:
open
Person:
Erik Dahlström
Due on:
October 6, 2009
Created on:
September 29, 2009
Associated Product:
SVG Full 1.1
Related emails:
  1. Minutes, Brussels F2F day 1 (May 24, 2010) (from ed@opera.com on 2010-05-24)
  2. SVG/profiles/1.1F2/master svgdom.html,1.20,1.21 (from cvsmail@w3.org on 2010-05-24)
  3. Minutes, 6 May SVG telcon (from chris@w3.org on 2010-05-06)
  4. Reminder to finish off actions for SVG1.1F2 (from ed@opera.com on 2010-04-26)
  5. Final updates for SVG 1.1 Second Edition (from ed@opera.com on 2010-04-19)
  6. Minutes, Mon 8 Feb 2010, SVG WG (from jwatt@jwatt.org on 2010-02-08)
  7. SVG/profiles/1.1F2/master svgdom.html,1.17,1.18 (from cvsmail@w3.org on 2010-01-26)
  8. SVG WG telcon January 21 2010 cancelled (from ed@opera.com on 2010-01-18)
  9. Minutes, January 18 2010 SVG WG telcon (from ed@opera.com on 2010-01-18)
  10. SVG/profiles/1.1F2/test/svg svgdom-over-01-f.svg,NONE,1.1 (from cvsmail@w3.org on 2010-01-18)
  11. Re: Remaining actions for SVG 1.1 second edition (from ed@opera.com on 2010-01-14)
  12. Re: Remaining actions for SVG 1.1 second edition (from chris@w3.org on 2010-01-14)
  13. Remaining actions for SVG 1.1 second edition (from ed@opera.com on 2010-01-14)
  14. Minutes, 7 Jan 2010 SVG WG (from chris@w3.org on 2010-01-07)
  15. Minutes, SVG Telcon, 10 Dec 2009 (from anthony.grasso@cisra.canon.com.au on 2009-12-11)
  16. November 26, 2009 telcon (from ed@opera.com on 2009-11-25)
  17. Minutes, 28 September 2009 SVG WG F2F - Day 3 (from ed@opera.com on 2009-09-28)
  18. Re: SVG DOM objects reflecting non-existent attributes (from cam@mcc.id.au on 2009-09-28)

Related notes:

Also remove the specialcases for the textLength, filterRes etc attributes since they'll be zero/NaN.

Erik Dahlström, 29 Sep 2009, 01:15:09

Add some wording to say that SVG DOM objects of the following types get these values when the corresponding attribute is not present:

DOMString -- null
SVGAnimatedBoolean -- false
SVGAnimatedString -- null
SVGAnimatedNumber -- 0
SVGAnimatedLength -- 0 user units
SVGAnimatedLengthList or SVGLengthList -- an empty list
SVGAnimatedAngle or SVGAngle -- 0 in unspecified units
SVGAnimatedRect -- [0, 0, 0, 0]
SVGAnimatedPreserveAspectRatio -- "xMidYMid meet"
SVGZoomAndPan -- "none"
SVGAnimatedTransformList -- empty list
SVGAnimatedPoints -- empty list

Also, you should state that the SVG DOM object that you get back is always live, so as soon as you set the attribute then the SVG DOM object's value is updated. And then if you remove the attribute, then the SVG DOM object's value gets set to the zero value as above.

Cameron McCormack, 29 Sep 2009, 01:34:17

Display change log.


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: 2676.html,v 1.1 2020/01/17 13:11:01 carcone Exp $