Chromium Code Reviews| Index: LayoutTests/css3/images/pixelated-image.html |
| diff --git a/LayoutTests/css3/images/pixelated-image.html b/LayoutTests/css3/images/pixelated-image.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c6d8881d7252c59fc7475675e877dd8a3df547c9 |
| --- /dev/null |
| +++ b/LayoutTests/css3/images/pixelated-image.html |
| @@ -0,0 +1,25 @@ |
| +<!DOCTYPE html> |
| + <style> |
| + img { |
| + display: block; |
| + position: fixed; |
| + left: 0px; |
| + top: 0px; |
| + right: 0px; |
| + bottom: 0px; |
| + border: none; |
| + width: 100px; |
| + height: 100px; |
| + margin: 0px; |
| + padding: 0px; |
| + image-rendering: pixelated; |
| + } |
| +</style> |
| +<body> |
| + <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid olor, with no blurring of edges --> |
|
pdr.
2014/06/13 03:59:23
Nit: solid color
jackhou
2014/06/13 04:27:32
Done.
|
| + <image style="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik2kAAAAASUVORK5CYII="></img> |
|
pdr.
2014/06/13 03:59:23
Nit: image -> img, no </img> tag needed, and remov
jackhou
2014/06/13 04:27:32
Done.
|
| +</body> |
| +<script> |
| + if (window.layoutTestController) |
| + layoutTestController.dumpAsText(true); |
|
pdr.
2014/06/13 03:59:23
Ditto about layoutTestController and dumpAsText.
jackhou
2014/06/13 04:27:32
Done.
|
| +</script> |