diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/image-region | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.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..b17f5b3135 --- /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 style="-moz-box-flex: 1000" /> + </hbox> +</window> 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..142b10b8b4 --- /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 style="-moz-box-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 |