summaryrefslogtreecommitdiffstats
path: root/layout/reftests/marquee
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/marquee
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/marquee')
-rw-r--r--layout/reftests/marquee/1160342-1.html10
-rw-r--r--layout/reftests/marquee/1160342-2.html10
-rw-r--r--layout/reftests/marquee/1160342-ref.html10
-rw-r--r--layout/reftests/marquee/166591-dynamic-1-ref.html6
-rw-r--r--layout/reftests/marquee/166591-dynamic-1.html11
-rw-r--r--layout/reftests/marquee/336736-1-ref.html5
-rw-r--r--layout/reftests/marquee/336736-1a.html13
-rw-r--r--layout/reftests/marquee/336736-1b.html13
-rw-r--r--layout/reftests/marquee/406073-1-ref.html11
-rw-r--r--layout/reftests/marquee/406073-1.html23
-rw-r--r--layout/reftests/marquee/407016-2-ref.html5
-rw-r--r--layout/reftests/marquee/407016-2.html7
-rw-r--r--layout/reftests/marquee/413027-4-ref.html10
-rw-r--r--layout/reftests/marquee/413027-4.html15
-rw-r--r--layout/reftests/marquee/425247-1-ref.html9
-rw-r--r--layout/reftests/marquee/425247-1.html9
-rw-r--r--layout/reftests/marquee/425247-2-ref.html9
-rw-r--r--layout/reftests/marquee/425247-2.html9
-rw-r--r--layout/reftests/marquee/429849-1-ref.html10
-rw-r--r--layout/reftests/marquee/429849-1.html10
-rw-r--r--layout/reftests/marquee/reftest-stylo.list16
-rw-r--r--layout/reftests/marquee/reftest.list11
22 files changed, 232 insertions, 0 deletions
diff --git a/layout/reftests/marquee/1160342-1.html b/layout/reftests/marquee/1160342-1.html
new file mode 100644
index 000000000..85e7215fb
--- /dev/null
+++ b/layout/reftests/marquee/1160342-1.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Bug 1160342 - Implement marquee using mutation observers</title>
+</head>
+<body onload="document.getElementById('a').setAttribute('behavior', 'alternate')">
+<marquee id="a" scrollamount=0 direction=right>
+This text should be visible
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/1160342-2.html b/layout/reftests/marquee/1160342-2.html
new file mode 100644
index 000000000..99b288568
--- /dev/null
+++ b/layout/reftests/marquee/1160342-2.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Bug 1160342 - Implement marquee using mutation observers</title>
+</head>
+<body onload="document.getElementById('a').setAttribute('direction', 'right')">
+<marquee id="a" behavior=alternate scrollamount=0>
+This text should be visible
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/1160342-ref.html b/layout/reftests/marquee/1160342-ref.html
new file mode 100644
index 000000000..d56c90642
--- /dev/null
+++ b/layout/reftests/marquee/1160342-ref.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Bug 1160342 - Implement marquee using mutation observers</title>
+</head>
+<body>
+<marquee id="a" behavior=alternate scrollamount=0 direction=right>
+This text should be visible
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/166591-dynamic-1-ref.html b/layout/reftests/marquee/166591-dynamic-1-ref.html
new file mode 100644
index 000000000..a9bed7d5f
--- /dev/null
+++ b/layout/reftests/marquee/166591-dynamic-1-ref.html
@@ -0,0 +1,6 @@
+<html><head>
+</head>
+<body>
+<div id="test"><marquee behavior="alternate" scrollamount="0">dynamic marquee</marquee></div>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/166591-dynamic-1.html b/layout/reftests/marquee/166591-dynamic-1.html
new file mode 100644
index 000000000..278b2a37b
--- /dev/null
+++ b/layout/reftests/marquee/166591-dynamic-1.html
@@ -0,0 +1,11 @@
+<html><head>
+<script>
+function init() {
+ document.getElementById('test').innerHTML = '<marquee behavior="alternate" scrollamount="0">dynamic marquee</marquee>';
+}
+</script>
+</head>
+<body onload="init();">
+<div id="test"></div>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/336736-1-ref.html b/layout/reftests/marquee/336736-1-ref.html
new file mode 100644
index 000000000..116e5ade2
--- /dev/null
+++ b/layout/reftests/marquee/336736-1-ref.html
@@ -0,0 +1,5 @@
+<html>
+<body>
+<div style="background: green; width: 50px">&nbsp;</div>
+</body>
+</html>
diff --git a/layout/reftests/marquee/336736-1a.html b/layout/reftests/marquee/336736-1a.html
new file mode 100644
index 000000000..fb54f3060
--- /dev/null
+++ b/layout/reftests/marquee/336736-1a.html
@@ -0,0 +1,13 @@
+<html>
+<body dir="rtl">
+<!-- The "alternate" behavior is necessary for the
+ marquee text to start out on the screen. -->
+<marquee
+ direction="right"
+ scrollamount="0"
+ behavior="alternate"
+>
+<div style="background: green; width: 50px">&nbsp;</div>
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/336736-1b.html b/layout/reftests/marquee/336736-1b.html
new file mode 100644
index 000000000..85338167c
--- /dev/null
+++ b/layout/reftests/marquee/336736-1b.html
@@ -0,0 +1,13 @@
+<html>
+<body>
+<!-- The "alternate" behavior is necessary for the
+ marquee text to start out on the screen. -->
+<marquee
+ direction="right"
+ scrollamount="0"
+ behavior="alternate"
+>
+<div style="background: green; width: 50px">&nbsp;</div>
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/406073-1-ref.html b/layout/reftests/marquee/406073-1-ref.html
new file mode 100644
index 000000000..751bb5db7
--- /dev/null
+++ b/layout/reftests/marquee/406073-1-ref.html
@@ -0,0 +1,11 @@
+<html class="reftest-wait">
+<body style="border:3px solid;" onload="setTimeout(doe, 0)">
+<marquee behavior="alternate" scrollamount="100"><span style="background-color: lime;">marquee</span></marquee>
+ <script>
+ function doe() {
+ document.getElementsByTagName('marquee')[0].stop();
+ document.documentElement.className = "";
+ }
+ </script>
+</body>
+</html>
diff --git a/layout/reftests/marquee/406073-1.html b/layout/reftests/marquee/406073-1.html
new file mode 100644
index 000000000..01787afda
--- /dev/null
+++ b/layout/reftests/marquee/406073-1.html
@@ -0,0 +1,23 @@
+<html class="reftest-wait">
+<body style="border:3px solid;" onload="setTimeout(doe, 0)">
+<marquee behavior="alternate" scrollamount="100"><span style="background-color: lime;">marquee</span></marquee>
+ <script>
+ function doe() {
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.getElementsByTagName('marquee')[0].start();
+ document.getElementsByTagName('marquee')[0].stop();
+ document.documentElement.className = "";
+ }
+ </script>
+</body>
+</html>
diff --git a/layout/reftests/marquee/407016-2-ref.html b/layout/reftests/marquee/407016-2-ref.html
new file mode 100644
index 000000000..25fee1b7d
--- /dev/null
+++ b/layout/reftests/marquee/407016-2-ref.html
@@ -0,0 +1,5 @@
+<html>
+<body>
+<div style="background-color: lime; height: 50px;"></div>
+</body>
+</html>
diff --git a/layout/reftests/marquee/407016-2.html b/layout/reftests/marquee/407016-2.html
new file mode 100644
index 000000000..65e1273b9
--- /dev/null
+++ b/layout/reftests/marquee/407016-2.html
@@ -0,0 +1,7 @@
+<html>
+<body>
+<marquee scrollamount="0" style="height: 50px; background-color: lime;">
+<div style="width: 9999px;">&nbsp;</div>
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/413027-4-ref.html b/layout/reftests/marquee/413027-4-ref.html
new file mode 100644
index 000000000..22fdd42e6
--- /dev/null
+++ b/layout/reftests/marquee/413027-4-ref.html
@@ -0,0 +1,10 @@
+<html><head>
+<title>Testcase for bug 413027 - Marquee height is sized too small, clipping text vertically</title>
+</head>
+<body>
+
+<div style="background-color: lime; width: 600px; float:left;">
+ <div style="margin: 100px 0px; padding-left: 2px;">text</div>
+</div>
+
+</body></html>
diff --git a/layout/reftests/marquee/413027-4.html b/layout/reftests/marquee/413027-4.html
new file mode 100644
index 000000000..d57f2f121
--- /dev/null
+++ b/layout/reftests/marquee/413027-4.html
@@ -0,0 +1,15 @@
+<html><head>
+<title>Testcase for bug 413027 - Marquee height is sized too small, clipping text vertically</title>
+</head>
+<body>
+
+<marquee scrollamount="0" behavior="alternate" direction="right" style="background-color: lime; width: 600px;">
+<div>
+<!-- padding-left used to avoid risk of an antialiasing pixel that may
+ project to the left of the origin, causing a spurious test failure
+ (see bugs 476927, 475968) -->
+ <div style="margin: 100px 0px; padding-left: 2px;">text</div>
+</div>
+</marquee>
+
+</body></html>
diff --git a/layout/reftests/marquee/425247-1-ref.html b/layout/reftests/marquee/425247-1-ref.html
new file mode 100644
index 000000000..3b3a84d41
--- /dev/null
+++ b/layout/reftests/marquee/425247-1-ref.html
@@ -0,0 +1,9 @@
+<html><head>
+<title>Bug 425247 – Marquee with uppercase UP or DOWN as direction doesn't work properly</title>
+</head>
+<body>
+<marquee direction="up" bgcolor="magenta" behavior="alternate" scrollamount="0">
+<marquee bgcolor="yellow" behavior="alternate" scrollamount="0">marquee up</marquee>
+</marquee>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/425247-1.html b/layout/reftests/marquee/425247-1.html
new file mode 100644
index 000000000..dfa5021c4
--- /dev/null
+++ b/layout/reftests/marquee/425247-1.html
@@ -0,0 +1,9 @@
+<html><head>
+<title>Bug 425247 – Marquee with uppercase UP or DOWN as direction doesn't work properly</title>
+</head>
+<body>
+<MARQUEE DIRECTION=UP BGCOLOR=MAGENTA BEHAVIOR=ALTERNATE SCROLLAMOUNT=0>
+<MARQUEE BGCOLOR=YELLOW BEHAVIOR=ALTERNATE SCROLLAMOUNT=0>marquee up</MARQUEE>
+</MARQUEE>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/425247-2-ref.html b/layout/reftests/marquee/425247-2-ref.html
new file mode 100644
index 000000000..564d74979
--- /dev/null
+++ b/layout/reftests/marquee/425247-2-ref.html
@@ -0,0 +1,9 @@
+<html><head>
+<title>Bug 425247 – Marquee with uppercase UP or DOWN as direction doesn't work properly</title>
+</head>
+<body>
+<marquee direction="down" bgcolor="magenta" behavior="alternate" scrollamount="0">
+<marquee bgcolor="yellow" behavior="alternate" scrollamount="0">marquee down</marquee>
+</marquee>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/425247-2.html b/layout/reftests/marquee/425247-2.html
new file mode 100644
index 000000000..4cb66b901
--- /dev/null
+++ b/layout/reftests/marquee/425247-2.html
@@ -0,0 +1,9 @@
+<html><head>
+<title>Bug 425247 – Marquee with uppercase UP or DOWN as direction doesn't work properly</title>
+</head>
+<body>
+<MARQUEE DIRECTION=DOWN BGCOLOR=MAGENTA BEHAVIOR=ALTERNATE SCROLLAMOUNT=0>
+<MARQUEE BGCOLOR=YELLOW BEHAVIOR=ALTERNATE SCROLLAMOUNT=0>marquee down</MARQUEE>
+</MARQUEE>
+</body>
+</html> \ No newline at end of file
diff --git a/layout/reftests/marquee/429849-1-ref.html b/layout/reftests/marquee/429849-1-ref.html
new file mode 100644
index 000000000..3b9c3166e
--- /dev/null
+++ b/layout/reftests/marquee/429849-1-ref.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Bug 429849 – marquee text not on one line , part of this line on top and second part on bottom</title>
+</head>
+<body>
+<marquee behavior=alternate scrollamount=0 direction=right>
+This text should be on one line
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/429849-1.html b/layout/reftests/marquee/429849-1.html
new file mode 100644
index 000000000..6b1757fd0
--- /dev/null
+++ b/layout/reftests/marquee/429849-1.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Bug 429849 – marquee text not on one line , part of this line on top and second part on bottom</title>
+</head>
+<body>
+<marquee behavior=alternate scrollamount=0 direction=right>
+This text <script>document.body.offsetHeight;</script>should be on one line
+</marquee>
+</body>
+</html>
diff --git a/layout/reftests/marquee/reftest-stylo.list b/layout/reftests/marquee/reftest-stylo.list
new file mode 100644
index 000000000..26c77acf9
--- /dev/null
+++ b/layout/reftests/marquee/reftest-stylo.list
@@ -0,0 +1,16 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+random-if((B2G&&browserIsRemote)||Mulet) == 166591-dynamic-1.html 166591-dynamic-1.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G) fuzzy-if(Android,8,50) == 336736-1a.html 336736-1a.html
+# Bug 1168747 for random b2g timeouts
+skip-if(B2G) fuzzy-if(Android,8,50) == 336736-1b.html 336736-1b.html
+# Bug 1168747 for random b2g timeouts
+== 406073-1.html 406073-1.html
+== 407016-2.html 407016-2.html
+fuzzy-if(Android,8,220) == 413027-4.html 413027-4.html
+fuzzy-if(Android,8,30) == 425247-1.html 425247-1.html
+fuzzy-if(Android,8,30) == 425247-2.html 425247-2.html
+random == 429849-1.html 429849-1.html
+# bug 432288
+== 1160342-1.html 1160342-1.html
+== 1160342-2.html 1160342-2.html
diff --git a/layout/reftests/marquee/reftest.list b/layout/reftests/marquee/reftest.list
new file mode 100644
index 000000000..f033b4634
--- /dev/null
+++ b/layout/reftests/marquee/reftest.list
@@ -0,0 +1,11 @@
+== 166591-dynamic-1.html 166591-dynamic-1-ref.html
+fuzzy-if(Android,8,50) == 336736-1a.html 336736-1-ref.html
+fuzzy-if(Android,8,50) == 336736-1b.html 336736-1-ref.html
+== 406073-1.html 406073-1-ref.html
+== 407016-2.html 407016-2-ref.html
+fuzzy-if(Android,8,220) == 413027-4.html 413027-4-ref.html
+fuzzy-if(Android,8,30) == 425247-1.html 425247-1-ref.html
+fuzzy-if(Android,8,30) == 425247-2.html 425247-2-ref.html
+random == 429849-1.html 429849-1-ref.html # bug 432288
+== 1160342-1.html 1160342-ref.html
+== 1160342-2.html 1160342-ref.html