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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-03.html

Issue 2110093002: Import wpt@00af177447b0a4b2de95f051b040290f7307acd3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wpt-rewrite-nopathhacks
Patch Set: Merge branch 'master' into wpt_import2 Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-03.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-03.html
similarity index 61%
copy from third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01.html
copy to third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-03.html
index e66bd4a90698e2d9951ad32b8e8bdc8c851a508d..a16f3794aefab5e12ce46b8387c21a8063e0ce95 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-03.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
-<title>HTML Test: The embed element without src and type attributes represents nothing</title>
+<title>HTML Test: The embed element represents nothing when it has a media ancestor</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-embed-element">
<link rel="match" href="embed-represent-nothing-ref.html">
-<meta name="assert" content="Check if the embed element without src and type attributes represents nothing">
+<meta name="assert" content="Check if the embed element represents nothing when it has a media ancestor">
<style>
embed {
background-color: red;
@@ -14,5 +14,7 @@
</style>
<body>
<p>Test passes if there is <strong>no red</strong>.</p>
- <embed>
+ <video>
+ <embed src="/images/red-16x16.png">
+ </video>
</body>

Powered by Google App Engine
This is Rietveld 408576698