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

Side by Side Diff: LayoutTests/http/tests/images/image-with-dpr-header.html

Issue 46313002: Support the DPR header for client hints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: with cache tests Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <!-- DPR in header -->
4 <img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=im age/png&dpr=4.0">
5 <!-- DPR in srcset -->
6 <img srcset="http://127.0.0.1:8000/resources/square100.png 4x">
7 <!-- invalid DPR in header -->
8 <img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=im age/png&dpr=xx">
9 <!-- combine header with srcset -->
10 <img srcset="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType =image/png&dpr=xx 4x">
11 <img srcset="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType =image/png&dpr=4.0 2x">
12 <!-- explicit width also given -->
13 <img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=im age/png&dpr=4.0"
14 width="100" height="100">
15
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698