1
<base href="http://localhost/test/sub/" />
4
document.write('window.location.href: '+window.location.href);
5
document.write('<br>');
6
document.write('document.baseURI: '+document.baseURI);
12
<embed type="application/x-shockwave-flash"
15
height="100" width="400">
16
src="test.swf" no base (expect XML:sub)
20
<embed type="application/x-shockwave-flash"
23
height="100" width="400"
25
src="test.swf" base=".." (expect XML:root)
29
<embed type="application/x-shockwave-flash"
32
height="100" width="400">
33
src="../test.swf" no base (expect XML:sub)
37
<a href="../test.html">unbased</a>
39
<a href="test.html">sub</a>