bug 383080 - add -moz-image-region reftest, r=roc
authorkairo@kairo.at
Fri, 10 Aug 2007 03:43:28 -0700
changeset 4447 24ad1b4bc1f259f21c0c9a9c3ab6313e76e38e36
parent 4446 eee4ce504cb336c354515b5393b0fd4f3acf4fc5
child 4448 7c81da86bbcee423fcd5bdf97fc423cadfdfa051
push idunknown
push userunknown
push dateunknown
reviewersroc
bugs383080
milestone1.9a8pre
bug 383080 - add -moz-image-region reftest, r=roc
layout/reftests/image-region/image-region-ref.png
layout/reftests/image-region/image-region-ref.xul
layout/reftests/image-region/image-region.css
layout/reftests/image-region/image-region.png
layout/reftests/image-region/image-region.xul
layout/reftests/image-region/reftest.list
layout/reftests/reftest.list
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..418cea798b3b3ca5edd8af1334e38295b8091ac4
GIT binary patch
literal 174
zc%17D@N?(olHy`uVBq!ia0vp^LO{&H$P6UU`P#k&QfvV}A+A9B|9^&#+XVqY7H5G+
zWHAE+w=f7ZGR&GI0Tg5}@$_|Nzs|-eXw2UHLstzbBwOMdQR1ARo12<f!r)w#npl#W
zqEMb$lA#cik*eVC=^OAqMKup(r>Bc!2*>s01cs(x|9K+}1sE9iM{$2OQ9a2Ilx6UA
L^>bP0l+XkK0YfXb
new file mode 100644
--- /dev/null
+++ b/layout/reftests/image-region/image-region-ref.xul
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+    Any copyright is dedicated to the Public Domain.
+    http://creativecommons.org/licenses/publicdomain/
+    -->
+<?xml-stylesheet href="image-region.css" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        id="main"
+        class="reftest-image-region">
+  <hbox id="ref">
+    <image id="image1" />
+    <hbox flex="1000" />
+  </hbox>
+</window>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/reftests/image-region/image-region.css
@@ -0,0 +1,19 @@
+/*
+    Any copyright is dedicated to the Public Domain.
+    http://creativecommons.org/licenses/publicdomain/
+    */
+hbox#test > image {
+  list-style-image: url("image-region.png");
+}
+
+hbox#test > #image1 {
+  -moz-image-region: rect(1px, 19px, 9px, 1px);
+}
+
+hbox#ref > image {
+  list-style-image: none;
+}
+
+hbox#ref > #image1 {
+  list-style-image: url("image-region-ref.png");
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ca1276d027ca1ae9438bc35210525b63f3452336
GIT binary patch
literal 189
zc%17D@N?(olHy`uVBq!ia0vp^B0$W=#0(@)T2CtlQk(%kA+A9BKM?(A@RIJH3=%Bx
zh%9Dc;1&j9Muu5)B!GhKC7!;n?AO^C1&w9vW?hK^3dxqZMwB?`=jNv7l`uFLr6!i7
zrYMwWmSiY|WTYy%d-?{vPf^VSDwOkdaSY+Op3K3@$i~jb#^%PhK6G`Mu8M<GNK+{z
ZL-jjR@1&hvlYlB2JYD@<);T3K0RS!OE!Y46
new file mode 100644
--- /dev/null
+++ b/layout/reftests/image-region/image-region.xul
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+    Any copyright is dedicated to the Public Domain.
+    http://creativecommons.org/licenses/publicdomain/
+    -->
+<?xml-stylesheet href="image-region.css" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        id="main"
+        class="reftest-image-region">
+  <hbox id="test">
+    <image id="image1" />
+    <hbox flex="1000" />
+  </hbox>
+</window>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/image-region/reftest.list
@@ -0,0 +1,1 @@
+== image-region.xul image-region-ref.xul
--- a/layout/reftests/reftest.list
+++ b/layout/reftests/reftest.list
@@ -53,8 +53,11 @@ include native-theme/reftest.list
 # bidi
 include bidi/reftest.list
 
 # z-index/
 include z-index/reftest.list
  
 # columns/
 include columns/reftest.list
+
+# image-region/
+include image-region/reftest.list