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

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

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 | « no previous file | LayoutTests/http/tests/misc/client-hints-rw-width.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/misc/client-hints-accept.php
diff --git a/LayoutTests/http/tests/misc/client-hints-accept.php b/LayoutTests/http/tests/misc/client-hints-accept.php
index 89a28731af16ecdc0092d0085290b8a4aaff1330..72f78b09b45224b02d7bbaca669823511d8703bb 100644
--- a/LayoutTests/http/tests/misc/client-hints-accept.php
+++ b/LayoutTests/http/tests/misc/client-hints-accept.php
@@ -14,7 +14,7 @@
var loadRWImage = function() {
var img = new Image();
img.src = 'resources/image-checks-for-width.php';
- img.width = '500';
+ img.sizes = '500';
img.onload = t.step_func(function(){ t.done(); });
img.onerror = t.step_func(unreached);
document.body.appendChild(img);
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/client-hints-rw-width.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698