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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/fast/images/move-image-to-new-document.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document.html b/third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document.html
deleted file mode 100644
index 19d0ce211864316059d7f23bb6b281edcb443348..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<title>Test that when images are moved to a new document, a new load fires.</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<body>
-<script type="text/javascript">
-if (window.testRunner)
- testRunner.setPluginsEnabled(false);
-for (var elementType of [ "img", "input", "object", "embed" ]) {
- async_test(function(t) {
- var subframe = document.createElement("iframe");
- document.body.appendChild(subframe);
- var subdocument = subframe.contentDocument;
- var element = document.createElement(elementType);
- if (elementType == "input")
- element.type = "image";
- element.data = "resources/test-load.jpg";
- element.src = "resources/test-load.jpg";
- document.body.appendChild(element);
- element.onload = t.step_func(function() {
- document.body.removeChild(element);
- subdocument.body.appendChild(element);
- element.onload = t.step_func_done(function() {
- subdocument.body.removeChild(element);
- });
- });
- }, document.title + ', ' + elementType);
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698