layout/reftests/xul-document-load/readme.txt

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/xul-document-load/readme.txt	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,63 @@
     1.4 +This directory contains various XUL document (mozilla/content/xul/document) testcases for reftest.
     1.5 +
     1.6 +test001: Checks that stylesheets referenced from an overlay via an
     1.7 +         xml-stylesheet PI are applied to the master document appropriately.
     1.8 +
     1.9 +test002: Same as #1, but there's additional overlay between the master doc and
    1.10 +         the overlay with the stylesheet.
    1.11 +
    1.12 +test003: Checks that dynamically removing the stylesheet PI from an inline
    1.13 +         script has expected effect.
    1.14 +
    1.15 +test004: Same as test003, but removing the stylesheet PI happens from a "load"
    1.16 +         event handler.
    1.17 +
    1.18 +test005: Same as test003, but removing the stylesheet PI happens from a top-level
    1.19 +         script in an external JS file.
    1.20 +
    1.21 +test006: Simple <?xml-stylesheet ?> instruction in the prolog has an effect and exists
    1.22 +         in the DOM.
    1.23 +
    1.24 +test007: Same as #006 for xul-overlay PI.
    1.25 +
    1.26 +test008: Handle stylesheet PIs pointing to nonexistent resources gracefully.
    1.27 +
    1.28 +test009: Same as #008 for xul-overlay PIs
    1.29 +
    1.30 +test010: PIs in the master document, outside the prolog, don't have any effect but get
    1.31 +         added to the DOM.
    1.32 +
    1.33 +test011: (bug 363406) Relative URIs in overlay's <?xml-stylesheet ?> PI are
    1.34 +         resolved against overlay's URI, not the document URI.
    1.35 +
    1.36 +test012: Tests that sheets references from <?xml-stylesheet ?> PIs are added to the
    1.37 +         document in the same order as the PIs themselves are in - the simple case.
    1.38 +
    1.39 +test013: Tests the same thing as #012, but for the case when the first sheet contains
    1.40 +         an @import statement, which makes it -finish- loading earlier than the
    1.41 +         second sheet.
    1.42 +
    1.43 +test014: (bug 363406) Relative URIs in overlay's <?xul-overlay ?> PI are resolved
    1.44 +         against overlay's URI, not the document URI.
    1.45 +
    1.46 +test015: Relative URIs in overlay's <xul:script> are resolved against overlay's 
    1.47 +         URI, not the document URI.
    1.48 +
    1.49 +test016: Non-XUL elements work in overlays.
    1.50 +
    1.51 +test017: (bug 359959) <?xul-overlay ?> used as a direct child of <overlay>
    1.52 +         should be inserted into the DOM, but not cause the overlay to be
    1.53 +         applied.
    1.54 +
    1.55 +test018: <?xul-overlay ?> used deep inside another overlay (i.e. as a child of
    1.56 +         a 'hookup' node) should be inserted into the DOM, but not cause the
    1.57 +         overlay to be applied.
    1.58 +
    1.59 +test019: Same as #017 for <?xml-stylesheet ?>
    1.60 +
    1.61 +test020: Same as #018 for <?xml-stylesheet ?>
    1.62 +
    1.63 +test021: (bug 363419) Non-XUL elements directly underneath <overlay> should
    1.64 +         be merged correctly into the base document.
    1.65 +
    1.66 +test022: (bug 369828) <html:style> works in XUL documents

mercurial