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

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html

Issue 1176773002: W3C Test: Skip unsupported tests which were checked in unexpectedly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html b/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html
deleted file mode 100644
index 10029f0a809bd539abd850a2dc8ec922a7e30704..0000000000000000000000000000000000000000
--- a/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype html>
-<title>img current pixel density basic</title>
-<script src="../../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../../resources/testharnessreport.js"></script>
-<div id=log></div>
-<img src="/images/green-256x256.png" data-expect="256">
-<img srcset="/images/green-256x256.png 1x" data-expect="256">
-<img srcset="/images/green-256x256.png 1.6x" data-expect="160">
-<img srcset="/images/green-256x256.png 2x" data-expect="128">
-<img srcset="/images/green-256x256.png 10000x" data-expect="0">
-<img srcset="/images/green-256x256.png 9e99999999999999999999999x" data-expect="0">
-<img srcset="/images/green-256x256.png 256w" sizes="256px" data-expect="256">
-<img srcset="/images/green-256x256.png 512w" sizes="256px" data-expect="128">
-<img srcset="/images/green-256x256.png 256w" sizes="512px" data-expect="512">
-<img srcset="/images/green-256x256.png 256w" sizes="1px" data-expect="1">
-<img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0">
-<script>
-setup({explicit_done:true});
-onload = function() {
- [].forEach.call(document.images, function(img) {
- test(function() {
- var expected = parseFloat(img.dataset.expect);
- assert_equals(img.width, expected, 'width');
- assert_equals(img.height, expected, 'height');
- assert_equals(img.clientWidth, expected, 'clientWidth');
- assert_equals(img.clientHeight, expected, 'clientHeight');
- assert_equals(img.naturalWidth, 256, 'naturalWidth');
- assert_equals(img.naturalHeight, 256, 'naturalHeight');
- }, img.outerHTML);
- });
- done();
-};
-</script>

Powered by Google App Engine
This is Rietveld 408576698