Update WPT tests for embedded content
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / semantics / embedded-content / the-embed-element / embed-represent-nothing-04.html
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>HTML Test: The embed element represents nothing when it has an object ancestor</title>
4 <link rel="author" title="Intel" href="http://www.intel.com">
5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-embed-element">
6 <link rel="match" href="embed-represent-nothing-ref.html">
7 <meta name="assert" content="Check if the embed element represents nothing when it has a object ancestor that is not showing its fallback content">
8 <style>
9   embed {
10     background-color: red;
11     height: 100px;
12     width: 100px;
13   }
14 </style>
15 <body>
16   <p>Test passes if there is <strong>no red</strong>.</p>
17   <object type="application/x-shockwave-flash">
18     <embed src="/images/red-16x16.png">
19   </object>
20 </body>