3 <meta http-equiv=
"Content-Type" content=
"text/html;charset=UTF-8">
8 This file intentionally contains scpecial characters which
9 cannot be displayed by some text editors. Please
10 carefully edit the file.
14 #a61_a { color: red; }
15 #b61_\
61 { color: green; }
17 #a65530_ { color: red; }
18 #b65530_\fffa { color: green; }
20 #a65532_ { color: red; }
21 #b65532_\fffc { color: green; }
23 #a65533_� { color: red; }
24 #b65533_\fffd { color: green; }
26 /* above the
0xffff */
27 #a65536_𐀀 { color: red; }
28 #b65536_\
10000 { color: green; }
30 #a119558_𝌆 { color: red; }
31 #b119558_\
01d306 { color: green; }
38 if (window
.testRunner
)
39 testRunner
.dumpAsText();
41 var rules
= document
.styleSheets
[0].cssRules
;
43 for (var i
= 0; i
< rules
.length
; i
++) {
44 text
+= rules
.item(i
).cssText
;
48 document
.getElementById("result").appendChild(document
.createTextNode(text
));
50 if (document
.getElementById("result").firstChild
.data
=== document
.getElementById("expected").firstChild
.data
)
51 document
.getElementById("message").firstChild
.data
= "SUCCESS";
53 document
.getElementById("message").firstChild
.data
= "FAILURE";
60 <body onload=
"runTest()">
62 <p>Test parsing of CSS surrogate pairs.
</p>
64 <p id=
"message">TEST DID NOT COMPLETE
</p>
66 <p>Rules from the stylesheet:
</p>
68 <pre id=
"result"></pre>
70 <p>Expected result:
</p>
72 <pre id=
"expected">#a61_a { color: red; }
73 #b61_a { color: green; }
74 #a65530_ { color: red; }
75 #b65530_ { color: green; }
76 #a65532_ { color: red; }
77 #b65532_ { color: green; }
78 #a65533_� { color: red; }
79 #b65533_� { color: green; }
80 #a65536_𐀀 { color: red; }
81 #b65536_𐀀 { color: green; }
82 #a119558_𝌆 { color: red; }
83 #b119558_𝌆 { color: green; }