summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image-region
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/image-region
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/image-region')
-rw-r--r--layout/reftests/image-region/image-region-ref.pngbin0 -> 174 bytes
-rw-r--r--layout/reftests/image-region/image-region-ref.xul14
-rw-r--r--layout/reftests/image-region/image-region.css19
-rw-r--r--layout/reftests/image-region/image-region.pngbin0 -> 189 bytes
-rw-r--r--layout/reftests/image-region/image-region.xul14
-rw-r--r--layout/reftests/image-region/reftest-stylo.list3
-rw-r--r--layout/reftests/image-region/reftest.list1
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
new file mode 100644
index 000000000..418cea798
--- /dev/null
+++ b/layout/reftests/image-region/image-region-ref.png
Binary files differ
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
new file mode 100644
index 000000000..ca1276d02
--- /dev/null
+++ b/layout/reftests/image-region/image-region.png
Binary files differ
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