Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / entities-in-attributes.xhtml
blobb3d2a521fac3ea41f8a83dc63a55fb40cd18a6d8
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">
4 <head>
5 <title/>
6 </head>
7 <body>
8 <p>Test parsing of HTML entities in XHTML attributes.</p>
10 <form method="get" action="#">
11 <input type="submit" value="&nbsp;&lt;&rarr;&rArr;&gt;&nbsp;" id="input" />
12 </form>
14 <div id="result">FAILURE: script didn't run</div>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsText();
18 if (document.getElementById("input").value == "&nbsp;&lt;&rarr;&rArr;&gt;&nbsp;")
19 document.getElementById("result").firstChild.nodeValue = "SUCCESS";
20 else
21 document.getElementById("result").firstChild.nodeValue = "FAILURE";
22 </script>
24 </body>
25 </html>