michael@0: This directory contains various XUL document (mozilla/content/xul/document) testcases for reftest. michael@0: michael@0: test001: Checks that stylesheets referenced from an overlay via an michael@0: xml-stylesheet PI are applied to the master document appropriately. michael@0: michael@0: test002: Same as #1, but there's additional overlay between the master doc and michael@0: the overlay with the stylesheet. michael@0: michael@0: test003: Checks that dynamically removing the stylesheet PI from an inline michael@0: script has expected effect. michael@0: michael@0: test004: Same as test003, but removing the stylesheet PI happens from a "load" michael@0: event handler. michael@0: michael@0: test005: Same as test003, but removing the stylesheet PI happens from a top-level michael@0: script in an external JS file. michael@0: michael@0: test006: Simple instruction in the prolog has an effect and exists michael@0: in the DOM. michael@0: michael@0: test007: Same as #006 for xul-overlay PI. michael@0: michael@0: test008: Handle stylesheet PIs pointing to nonexistent resources gracefully. michael@0: michael@0: test009: Same as #008 for xul-overlay PIs michael@0: michael@0: test010: PIs in the master document, outside the prolog, don't have any effect but get michael@0: added to the DOM. michael@0: michael@0: test011: (bug 363406) Relative URIs in overlay's PI are michael@0: resolved against overlay's URI, not the document URI. michael@0: michael@0: test012: Tests that sheets references from PIs are added to the michael@0: document in the same order as the PIs themselves are in - the simple case. michael@0: michael@0: test013: Tests the same thing as #012, but for the case when the first sheet contains michael@0: an @import statement, which makes it -finish- loading earlier than the michael@0: second sheet. michael@0: michael@0: test014: (bug 363406) Relative URIs in overlay's PI are resolved michael@0: against overlay's URI, not the document URI. michael@0: michael@0: test015: Relative URIs in overlay's are resolved against overlay's michael@0: URI, not the document URI. michael@0: michael@0: test016: Non-XUL elements work in overlays. michael@0: michael@0: test017: (bug 359959) used as a direct child of michael@0: should be inserted into the DOM, but not cause the overlay to be michael@0: applied. michael@0: michael@0: test018: used deep inside another overlay (i.e. as a child of michael@0: a 'hookup' node) should be inserted into the DOM, but not cause the michael@0: overlay to be applied. michael@0: michael@0: test019: Same as #017 for michael@0: michael@0: test020: Same as #018 for michael@0: michael@0: test021: (bug 363419) Non-XUL elements directly underneath should michael@0: be merged correctly into the base document. michael@0: michael@0: test022: (bug 369828) works in XUL documents