diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/image-region/image-region-ref.png | bin | 0 -> 174 bytes | |||
-rw-r--r-- | layout/reftests/image-region/image-region-ref.xhtml | 14 | ||||
-rw-r--r-- | layout/reftests/image-region/image-region.css | 19 | ||||
-rw-r--r-- | layout/reftests/image-region/image-region.png | bin | 0 -> 189 bytes | |||
-rw-r--r-- | layout/reftests/image-region/image-region.xhtml | 14 | ||||
-rw-r--r-- | layout/reftests/image-region/reftest.list | 1 |
6 files changed, 48 insertions, 0 deletions
diff --git a/layout/reftests/image-region/image-region-ref.png b/layout/reftests/image-region/image-region-ref.png Binary files differnew file mode 100644 index 0000000000..418cea798b --- /dev/null +++ b/layout/reftests/image-region/image-region-ref.png diff --git a/layout/reftests/image-region/image-region-ref.xhtml b/layout/reftests/image-region/image-region-ref.xhtml new file mode 100644 index 0000000000..6446b4a022 --- /dev/null +++ b/layout/reftests/image-region/image-region-ref.xhtml @@ -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 diff --git a/layout/reftests/image-region/image-region.css b/layout/reftests/image-region/image-region.css new file mode 100644 index 0000000000..bfbceeb557 --- /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"); +} diff --git a/layout/reftests/image-region/image-region.png b/layout/reftests/image-region/image-region.png Binary files differnew file mode 100644 index 0000000000..ca1276d027 --- /dev/null +++ b/layout/reftests/image-region/image-region.png diff --git a/layout/reftests/image-region/image-region.xhtml b/layout/reftests/image-region/image-region.xhtml new file mode 100644 index 0000000000..122e098bd2 --- /dev/null +++ b/layout/reftests/image-region/image-region.xhtml @@ -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> diff --git a/layout/reftests/image-region/reftest.list b/layout/reftests/image-region/reftest.list new file mode 100644 index 0000000000..52f3f94415 --- /dev/null +++ b/layout/reftests/image-region/reftest.list @@ -0,0 +1 @@ +== chrome://reftest/content/image-region/image-region.xhtml chrome://reftest/content/image-region/image-region-ref.xhtml |