summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/downscaling/1404366-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'image/test/reftest/downscaling/1404366-1.html')
-rw-r--r--image/test/reftest/downscaling/1404366-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/image/test/reftest/downscaling/1404366-1.html b/image/test/reftest/downscaling/1404366-1.html
new file mode 100644
index 0000000000..165cc7f934
--- /dev/null
+++ b/image/test/reftest/downscaling/1404366-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<body>
+<!--
+ 1404366-1.ico is an ico file that contains a 32x32 0RGB (0 for all alpha values) bmp
+ where the color values are all white. It also contains a mask. The mask alternates
+ one pixel fully transparent, one pixel fully opaque. The result of drawing this on
+ a white background should be white. This is testing that we premultiply the color
+ values by the alpha derived from the mark when downscaling. If we do not skia will
+ get confused and likely draw non white pixels.
+-->
+<img src="1404366-1.ico" style="width: 12px; height: 12px;">
+</body>
+</html> \ No newline at end of file