Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / pattern-attribute-003.html
blob7231ac215eb986845c2634cd48ae9a6d24d81de0
1 <html>
2 <head>
3 <title>pattern attribute set test</title>
4 <script language="JavaScript" type="text/javascript">
5 function log(message) {
6 document.getElementById("console").innerHTML += "<li>"+message+"</li>";
9 function test() {
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 v = document.getElementsByName("victim");
14 v[0].pattern += " else";
15 log(v[0].pattern == "something else" ? "SUCCESS" : "FAILURE");
17 </script>
18 </head>
19 <body onload="test()">
20 <p>There an input element with the pattern attribute set.</p>
21 <input name="victim" pattern="something" />
22 <hr>
23 <ol id="console"></ol>
24 </body>
25 </html>