Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / invalid-003.html
blob9c4c9812e9875f753d4dca49aa59e8c33747f013
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <form method="get" id="sad_form">
9 <input name="victim" type="text" required/>
10 <input name="victim" type="text" pattern="Lorem ipsum" value="Loremipsum"/>
11 <textarea name="victim" required></textarea>
12 </form>
13 <div id="console"></div>
14 <script>
15 description("This test checks if the invalid event is correctly handled by document.oninvalid handler.");
17 document.oninvalid = testPassed('Handled');
19 if (document.getElementById("sad_form").checkValidity())
20 testFailed('checkValidity should have returned false');
21 </script>
22 </body>
23 </html>