diff options
Diffstat (limited to 'layout/reftests/image-region')
-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.xul | 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.xul | 14 | ||||
-rw-r--r-- | layout/reftests/image-region/reftest-stylo.list | 3 | ||||
-rw-r--r-- | layout/reftests/image-region/reftest.list | 1 |
7 files changed, 51 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 000000000..418cea798 --- /dev/null +++ b/layout/reftests/image-region/image-region-ref.png diff --git a/layout/reftests/image-region/image-region-ref.xul b/layout/reftests/image-region/image-region-ref.xul new file mode 100644 index 000000000..6446b4a02 --- /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 diff --git a/layout/reftests/image-region/image-region.css b/layout/reftests/image-region/image-region.css new file mode 100644 index 000000000..bfbceeb55 --- /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 000000000..ca1276d02 --- /dev/null +++ b/layout/reftests/image-region/image-region.png diff --git a/layout/reftests/image-region/image-region.xul b/layout/reftests/image-region/image-region.xul new file mode 100644 index 000000000..122e098bd --- /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> diff --git a/layout/reftests/image-region/reftest-stylo.list b/layout/reftests/image-region/reftest-stylo.list new file mode 100644 index 000000000..417d66082 --- /dev/null +++ b/layout/reftests/image-region/reftest-stylo.list @@ -0,0 +1,3 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +skip-if((B2G&&browserIsRemote)||Mulet) == image-region.xul image-region.xul +# Initial mulet triage: parity with B2G/B2G Desktop diff --git a/layout/reftests/image-region/reftest.list b/layout/reftests/image-region/reftest.list new file mode 100644 index 000000000..6b4a02f16 --- /dev/null +++ b/layout/reftests/image-region/reftest.list @@ -0,0 +1 @@ +== image-region.xul image-region-ref.xul |