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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled.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/img-dimensions-styled.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled.html b/third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled.html
deleted file mode 100644
index 49c675b8f86a03381e6d009ed0bf13de96f2692d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<title>HTMLImageElement.width/height returns styled dimensions.</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<style>
- img {
- width: 200px;
- height: 200px;
- }
-</style>
-<img src="resources/test-load.jpg" width="100" height="100">
-<script>
-test(function() {
- var image = document.querySelector("img");
- assert_equals(image.width, 200);
- assert_equals(image.height, 200);
- var rect = image.getBoundingClientRect();
- assert_equals(rect.width, 200);
- assert_equals(rect.height, 200);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698