content/xml/tests/xlink/auto.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/xml/tests/xlink/auto.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="link.css" type="text/css"?>
     1.6 +<root xmlns:xlink="http://www.w3.org/1999/xlink">
     1.7 +  <p>Testing simple XLinks that must fire immediately on load.</p>
     1.8 +  <mylink xlink:type="simple" xlink:actuate="onLoad" xlink:show="new" xlink:href="resource:/res/samples/test0.html">
     1.9 +Must not open automatically, illegal</mylink>
    1.10 +  <mylink xlink:type="simple" xlink:actuate="onLoad" xlink:show="new" xlink:href="http://www.mozilla.org">
    1.11 +Must open automatically in new window (www.mozilla.org)</mylink>
    1.12 +  <mylink xlink:type="simple" xlink:actuate="onLoad" xlink:show="new" xlink:href="http://www.mozillazine.org">
    1.13 +Must open automatically in new window (www.mozillazine.org)</mylink>
    1.14 +  <mylink xlink:type="simple" xlink:actuate="onLoad" xlink:show="replace" xlink:href="http://www.mozilla.org/mozorg.html">
    1.15 +Must load automatically in same window - "Refresh" (At a glance)</mylink>
    1.16 +  <mylink xlink:type="simple" xlink:actuate="onLoad" xlink:show="replace" xlink:href="http://www.netscape.com">
    1.17 +Must not load automatically, one refresh link fired already (www.netscape.com)</mylink>
    1.18 +</root>
    1.19 +

mercurial