Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-02.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>HTML Test: The embed element represents nothing when its type and src att ributs are removed</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 its src and type attributes are removed">
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 <embed id="embed" src="/images/red-16x16.png" type="image/png">
18 <script>
19 document.getElementById("embed").removeAttribute("src");
20 document.getElementById("embed").removeAttribute("type");
21 </script>
22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698