Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 4 | |
michael@0 | 5 | Test zooming, image snapping and subimage sampling restriction. |
michael@0 | 6 | This is like 446100-1a.html. |
michael@0 | 7 | --> |
michael@0 | 8 | <!DOCTYPE HTML> |
michael@0 | 9 | <html reftest-zoom="1.2" class="reftest-wait"> |
michael@0 | 10 | <head> |
michael@0 | 11 | <style> |
michael@0 | 12 | div { margin:1em; } |
michael@0 | 13 | /* A 7x7px image, black with a 5x5 transparent box centered in it */ |
michael@0 | 14 | div.box { background-image:-moz-element(#e5x5in7x7); } |
michael@0 | 15 | /* A 7x5px image, black with a 5x5 transparent box centered in it */ |
michael@0 | 16 | div.vstrip { background-image:-moz-element(#e5x5in7x5); } |
michael@0 | 17 | /* A 5x7px image, black with a 5x5 transparent box centered in it */ |
michael@0 | 18 | div.hstrip { background-image:-moz-element(#e5x5in5x7); } |
michael@0 | 19 | </style> |
michael@0 | 20 | </head> |
michael@0 | 21 | <body> |
michael@0 | 22 | <div class="box" style="background-position:-1px -1px; width:5px; height:5px;"></div> |
michael@0 | 23 | <div class="vstrip" style="background-position:-1px 0px; width:5px; height:22px;"></div> |
michael@0 | 24 | <div class="hstrip" style="background-position:0px -1px; width:22px; height:5px;"></div> |
michael@0 | 25 | <script> |
michael@0 | 26 | var waitingForLoad = 0; |
michael@0 | 27 | function setURLImage(name, url) { |
michael@0 | 28 | var img = new Image(); |
michael@0 | 29 | img.src = url; |
michael@0 | 30 | document.mozSetImageElement(name, img); |
michael@0 | 31 | waitingForLoad++; |
michael@0 | 32 | img.onload = function () { if (--waitingForLoad == 0) document.documentElement.className = ""; }; |
michael@0 | 33 | } |
michael@0 | 34 | setURLImage("e5x5in7x7", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAFklEQVQImWNgYGD4jwdDCCxgQCWxYgBX8hfpeym4dwAAAABJRU5ErkJggg=="); |
michael@0 | 35 | setURLImage("e5x5in7x5", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAFCAYAAACJmvbYAAAAFElEQVQImWNgYGD4z4Ad/GcYAEkAw+kJ94z5rSYAAAAASUVORK5CYII="); |
michael@0 | 36 | setURLImage("e5x5in5x7", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHCAYAAADAp4fuAAAAE0lEQVQImWNgYGD4jwXTD2DYDgDN4Qn3yMcPlwAAAABJRU5ErkJggg=="); |
michael@0 | 37 | </script> |
michael@0 | 38 | </body> |
michael@0 | 39 | </html> |