Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Element / onclick-case.html
bloba212fe194859dd9e598ccd9b848701e98cb5090b
1 <html>
2 <head>
3 <script>
4 function test() {
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 document.getElementById('a').click();
9 function OnClick() {
10 document.getElementById('b').innerHTML = "Hooray! All is well!";
12 </script>
13 </head>
14 <body onload="test()">
15 <p>This tests whether an element's onclick attribute can be a function
16 named "OnClick". Some older versions of WebKit had a bug in the DOM
17 binding for Element that would prevent the function from being called
18 because we have an attribute of the same name.</p>
19 <input id="a" type="button" onclick="OnClick();" value="Don't Touch">
20 <p id="b">If you can read this, then the test failed!</p>
21 </body>
22 </html>