Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / input-named-action-overrides-action-attribute.html
blob4536266444b8d00366aa9130be47e1bb596012e9
1 <body onload="test()">
2 <form action="/">
3 <input type=hidden name="action" value="">
4 </form>
5 <p>This tests that access to a form's element named "action" overrides the "action" property on a form element (from the HTML DOM).</p>
6 <p>If the test passes, the next paragraph will say "Test Passed".</p>
7 <p id="result"></p>
8 <script>
9 function test() {
10 if (window.testRunner)
11 testRunner.dumpAsText();
12 document.forms[0].action.value = "Passed";
13 document.getElementById("result").innerText = "Test " + (document.forms[0].action.value ? document.forms[0].action.value : "Failed");
15 </script>