1
<?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
8 <p>Test parsing of HTML entities in XHTML attributes.
</p>
10 <form method=
"get" action=
"#">
11 <input type=
"submit" value=
" <→⇒> " id=
"input" />
14 <div id=
"result">FAILURE: script didn't run
</div>
16 if (window
.testRunner
)
17 testRunner
.dumpAsText();
18 if (document
.getElementById("input").value
== " <→⇒> ")
19 document
.getElementById("result").firstChild
.nodeValue
= "SUCCESS";
21 document
.getElementById("result").firstChild
.nodeValue
= "FAILURE";