content/base/test/chrome/test_bug357450.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/test/chrome/test_bug357450.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
     1.6 +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
     1.7 +
     1.8 +<!--
     1.9 +https://bugzilla.mozilla.org/show_bug.cgi?id=357450
    1.10 +-->
    1.11 +
    1.12 +<window title="Mozilla Bug 357450"
    1.13 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.14 +
    1.15 +  <script type="application/javascript" 
    1.16 +	  src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
    1.17 +  <!-- This file is shared with non-chrome tests -->
    1.18 +  <script type="text/javascript" src="../test_bug357450.js"></script>
    1.19 +
    1.20 +<body  xmlns="http://www.w3.org/1999/xhtml">
    1.21 +
    1.22 +<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=357450"
    1.23 +   target="_blank">Mozilla Bug 357450</a>
    1.24 +
    1.25 +<p id="display"></p>
    1.26 +
    1.27 +<div id="content" style="display: block">
    1.28 +  <a class="classtest" name="nametest">hmm</a>
    1.29 +  <b class="foo">hmm</b>
    1.30 +  <b id="test1" class="test1">hmm</b>
    1.31 +  <b id="test2" class="test2">hmm</b>
    1.32 +  <b id="int-class" class="1">hmm</b>
    1.33 +  <div id="example">
    1.34 +   <p id="p1" class="aaa bbb"/>
    1.35 +   <p id="p2" class="aaa ccc"/>
    1.36 +   <p id="p3" class="bbb ccc"/>
    1.37 +  </div>
    1.38 +</div>
    1.39 +<pre id="test">
    1.40 +</pre>
    1.41 +</body>
    1.42 +
    1.43 +<svg xmlns="http://www.w3.org/2000/svg"
    1.44 +     height="100" width="100" style="float:left">
    1.45 +
    1.46 +  <path d="M38,38c0-12,24-15,23-2c0,9-16,13-16,23v7h11v-4c0-9,17-12,17-27c-2-22-45-22-45,3zM45,70h11v11h-11z" fill="#371"/>
    1.47 +
    1.48 +  <circle cx="50" cy="50" r="45" class="classtest" 
    1.49 +	  fill="none" stroke="#371" stroke-width="10"/>
    1.50 +
    1.51 +</svg>
    1.52 +
    1.53 +<xul:label class="classtest"
    1.54 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.55 + hmm
    1.56 +</xul:label>
    1.57 +
    1.58 +
    1.59 +</window>

mercurial