Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / invalid-object-with-fallback.html
blobb7c3c5cc7f6c331774ac9cad267553fc75dd2ddf
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function debug(str) {
8 document.getElementById('console').innerHTML += str + "<br>";
10 </script>
11 </head>
12 <body>
13 <object>
14 <p>This test verifies that an &lt;embed&gt; tag is rendered along with other fallback content when an &lt;object&gt; fails to load. On success, you should see this text, followed by 'PASS'.</p>
15 <embed name="plugin" type="application/x-webkit-test-netscape">
16 </object>
17 <div id="console"></div>
18 <script>
19 if (window.internals)
20 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
21 var plugin = document.plugin;
22 if (plugin && plugin.getURL)
23 debug("PASS");
24 else
25 debug("FAIL");
26 </script>
27 </body>
28 </html>