This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 646 - alltests.html does not allow XML or SVG for IFRAME implementation
Summary: alltests.html does not allow XML or SVG for IFRAME implementation
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 06:47 UTC by Bob Clary
Modified: 2004-04-02 17:43 UTC (History)
0 users

See Also:


Attachments
Restores SVG and XML as options for IFrame loader (1.01 KB, patch)
2004-04-02 12:38 UTC, Curt Arnold
Details

Description Bob Clary 2004-04-02 06:47:29 UTC
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.
Comment 1 Curt Arnold 2004-04-02 12:38:47 UTC
Created attachment 343 [details]
Restores SVG and XML as options for IFrame loader
Comment 2 Curt Arnold 2004-04-02 12:43:40 UTC
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.