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

Unified Diff: LayoutTests/http/tests/misc/client-hints-rw-width.html

Issue 1218413002: Remove width calculation in `Width` hint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed widthAttr support in `Width` hint Created 5 years, 5 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
« no previous file with comments | « LayoutTests/http/tests/misc/client-hints-accept.php ('k') | Source/core/html/HTMLImageElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/misc/client-hints-rw-width.html
diff --git a/LayoutTests/http/tests/misc/client-hints-rw-width.html b/LayoutTests/http/tests/misc/client-hints-rw-width.html
deleted file mode 100644
index 6910e9503ff677d035d0f32c35f423813921e0b4..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/misc/client-hints-rw-width.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<meta http-equiv="Accept-CH" content="DPR, Width, Viewport-Width">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/slow-script.pl?delay=300"></script>
-<img id="testimg1" src="resources/image-checks-for-width.php?rw=480" sizes="60vw">
-<img id="testimg2" width="320" src="resources/image-checks-for-width.php?rw=320">
-<img id="testimg3" width="400invalid" src="resources/image-checks-for-width.php?rw=400">
-<img id="testimg4" width="400%" src="resources/image-checks-for-width.php?cache_bust=1">
-<img id="testimg5" width="400%" width="400" src="resources/image-checks-for-width.php?cache_bust=2">
-<img id="testimg6" width="400*" src="resources/image-checks-for-width.php?cache_bust=3">
-<script>
- var t = async_test('Client-Hints sent with the right Width value Accept-CH header is present');
- window.onload = t.step_func(function() {
- assert_not_equals(document.getElementById("testimg1").naturalWidth, 0);
- assert_not_equals(document.getElementById("testimg2").naturalWidth, 0);
- assert_not_equals(document.getElementById("testimg3").naturalWidth, 0);
- assert_equals(document.getElementById("testimg4").naturalWidth, 0);
- assert_equals(document.getElementById("testimg5").naturalWidth, 0);
- assert_equals(document.getElementById("testimg6").naturalWidth, 0);
- t.done();
- });
-</script>
« no previous file with comments | « LayoutTests/http/tests/misc/client-hints-accept.php ('k') | Source/core/html/HTMLImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698