This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The current version of alltests.html does not allow the choice of XML or SVG for IFRAME implementations. There is nothing that precludes an implementation from loading XML or SVG into a browser window or IFRAME. By excluding XML or SVG from loading in an IFRAME, the test suite limits the choices a tester can make. For example, Mozilla users can not test XML in an IFRAME, nor can users of SVG capable builds test SVG documents in an IFRAME. In addition, MSIE users will not be able to determine that MSIE changes the DOM of an XML document when it is loaded into a browser window or IFRAME. alltests.html should not restrict content types for IFRAME based implementations.
Created attachment 343 [details] Restores SVG and XML as options for IFrame loader
In order to support the widest variety of browsers, detecting that the document was loaded was moved inside the HTML and XHTML documents by adding an onload attribute to the body element. Since there was no similar hook for generic XML files (just being lazy with SVG), I removed them as options for the IFrame loader. This change restores the external "load" event listener for XML and SVG which should give the best of both approaches.