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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.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/natural-dimensions-correct-after-image-reset.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html b/third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html
deleted file mode 100644
index 5ba8dc982c700291bf089115c24b612f60df93e2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<title>crbug.com/468915: Resetting or removing the src attribute should reset the image immediately, rather than waiting for an asynchronous load to do it.</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-async_test(function(t) {
- var img = new Image();
- img.onload = t.step_func_done(function() {
- assert_equals(img.naturalWidth, 16);
- img.removeAttribute('src');
- assert_equals(img.naturalWidth, 0);
- });
- img.src = 'resources/green.jpg';
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698