External documents referenced via <use> and scripting

Should scripts run in external documents referenced by <use>

a) Should scripts run if they are in the external document outside the part
referenced by <use> e.g.

<svg ...
    <script>
        // runs on normal document load
     </script>
     <rect id="rect" ... />   <- document references this
</svg>

b) should script run if it's inside the <use> reference?

c) should script run if it's part of an <iframe>, <embed>, <object>
included in the <use> via <foreignObject>

For examples of that see
https://bugzilla.mozilla.org/show_bug.cgi?id=1049873

d) how about <a> with an xlink:href which is javascript?

Robert.

Received on Wednesday, 3 September 2014 21:41:23 UTC