Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / override-node-method.html
blob8289880a0a240e763c3b6009aa8025fc7ef11efa
1 <html>
2 <body>
3 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
4 <p>Test that a plugin can override Node methods of its element. This also means that the plugin
5 is instantiated when accessing properties and methods of its owner element.</p>
6 <p>Should alert PASS.</p>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 function pluginCallback() { alert("PASS") }
13 try {
14 plg.normalize();
15 } catch (ex) {
16 alert("Exception: " + ex.description + ". Test plugin was not found");
18 </script>
19 </body>
20 </html>