OLD | NEW |
(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> |
OLD | NEW |