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

Unified Diff: LayoutTests/http/tests/misc/client-hints-accept-meta.html

Issue 1186333004: Add support for `width` based Width Client Hint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moar comments 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/http/tests/misc/client-hints-accept-meta.html
diff --git a/LayoutTests/http/tests/misc/client-hints-accept-meta.html b/LayoutTests/http/tests/misc/client-hints-accept-meta.html
index b710aeddb195833887a26636fa936d442f1e132a..d463e57f7cf8e118caa9b6087af1b7b7d858418e 100644
--- a/LayoutTests/http/tests/misc/client-hints-accept-meta.html
+++ b/LayoutTests/http/tests/misc/client-hints-accept-meta.html
@@ -12,6 +12,7 @@
var loadRWImage = function() {
var img = new Image();
img.src = 'resources/image-checks-for-width.php';
+ img.sizes = '100vw';
img.onload = t.step_func(function(){ t.done(); });
img.onerror = t.step_func(unreached);
document.body.appendChild(img);

Powered by Google App Engine
This is Rietveld 408576698