ISSUE-2265: Consider adding a parameter referencing and defaulting mechanism
declarative-parameter-use
Consider adding a parameter referencing and defaulting mechanism
- State:
- RAISED
- Product:
- Module: Integration
- Raised by:
- Doug Schepers
- Opened on:
- 2009-04-14
- Description:
- Currently, you can pass parameters to an SVG file, but you can't access or use those parameters without script. For some scenarios, like use in an <img>, this means they can't be used at all. Having a declarative mechanism to use parameters would be useful.
I wrote up some thoughts and made a prototype implementation in script:
http://www.schepers.cc/w3c/svg/params/ref.html
Although this definitely touches on functionality that's most useful in the embedding scenario, I'm ambivalent about putting a new feature into the integration spec. We could make a maybe a dedicated <ref> spec, or put something like this into SVG 2.0... but that involves extra time and overhead, and if we are ultimately going to put both modules into SVG 2.0 anyway, I thought it might make sense to define it in SVG Integration. I can't think of where else it might fit, other than SVG 2.0 itself.
- Related Actions Items:
- No related actions
- Related emails:
- Minutes, Wednesday April 22, 2009 (from anthony.grasso@cisra.canon.com.au on 2009-04-22)
- Agenda, Wednesday April 22, 2009 (from ed@opera.com on 2009-04-21)
- ISSUE-2265 (declarative-parameter-use): Consider adding a parameter referencing and defaulting mechanism [Module: Integration] (from sysbot+tracker@w3.org on 2009-04-14)
Related notes:
Try to address cross-origin issues: http://blog.codedread.com/archives/2008/07/25/parameterizing-svg-and-html/
Doug Schepers, 14 Apr 2009, 11:51:27Accessing Object Parameters from an Embedded SVG (HTML issue tracker): http://www.w3.org/Bugs/Public/show_bug.cgi?id=5846
Doug Schepers, 14 Apr 2009, 14:22:03Display change log