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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.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/image-change-without-resize-shouldnt-layout.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.html b/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.html
deleted file mode 100644
index 5f1d904f4bbd66ce8febdd9ff0163af5d69f64a3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<title>This test ensures that when an image changes, but doesn't change size (like in an Animated GIF), we don't force a Layout.</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<div style="float: left;">
-<img style="max-width: 100%" src="../replaced/resources/1x1-blue.png">
-</div>
-<script>
-async_test(function(t) {
- window.onload = t.step_func(function() {
- document.documentElement.offsetTop;
- var img = document.querySelector("img");
- img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAMAAAAoyzS7AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAGUExURf8AAAAAAEGjEgMAAAAMSURBVHjaYmAACDAAAAIAAU9tWeEAAAAASUVORK5CYII=";
- assert_equals(internals.needsLayoutCount(), 0);
- img.onload = t.step_func_done(function() {
- assert_equals(internals.needsLayoutCount(), 0);
- });
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698