[Bug 5846] Accessing Object Parameters from an Embedded SVG

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5846





--- Comment #5 from Jeff Schiller <codedread@gmail.com>  2008-07-11 02:52:35 ---
1) Query Parameters.  Can someone point me to documentation on these?  Can
someone also clarify whether query parameters force browsers to fetch a new
copy of the document?  (PHP URL arguments do, so that's why I'm asking).  This
would seem to be a reason NOT to use query parameters as they would be
inefficient (ideal to only have one copy of the SVG document in the browser
cache and not do multiple HTTP requests).

2) Here are some Use Cases:

a) SVG Text labels that are populated via object parameters

<object data="http://openclipart/funkyWordArt.svg">
  <param name="theText" value="Hello World!"/>
  <param name="fillColor" value="PapayaWhip" />
</object>

b) Link targets in the SVG that are configurable.  Embed clip art into my site
and parts of the image link to different things depending on the page that
embedded the clip art.  I can see MANY uses for this, like a 'bug' image that
links to a specific bug 
  <object data="http://openclipart/bug.svg">
    <param name="theLink" value="http://bugzilla/bug1234" />
  </object>
  <object data="http://openclipart/bug.svg">
    <param name="theLink" value="http://bugzilla/bug5678" />
  </object>

c) Allow the embedding document to specify a stylesheet to use for the SVG

3) Evidence.  "Is there any evidence showing that people actually _do_ specify
<param>s for HTML and SVG objects?"

This seems an odd question to me.  Since it is currently not possible to do
this across domains, obviously NO ONE is doing that.  If the linked SVG doc is
in the same domain, it is possible to navigate from SVG DOM to HTML DOM without
security issue, so there is not as much reason to use <param> objects, you can
communicate using a variety of mechanisms.


Since I don't seem to have Bugzilla permissions, I wonder if someone could
reopen the bug to NEEDSINFO again.  Thanks.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 11 July 2008 02:53:18 UTC