script-element-201-t

FAIL

raster image of script-element-201-t

Test that when a script element has both an xlink:href attribute and child character data, the executable content for the script is retrieved from the IRI of the xlink:href attribute, and the child content is not added to the scripting context.

The test loads an external script resource, which if executed sets the fill or the blue rect to green. If the child content is executed the fill will be set to red.

The test has passed if the rect is green after script execution has taken place, no red must be visible.