import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Testcase for bug 1086723</title>
<style type="text/css">
.test_div {
position: fixed;
overflow: hidden;
background: blue;
width: 50%;
height: 50%;
border-radius: 0px 50% 50% 0px;
}
.filler {
height: 5000px;
}
body,html {
overflow: hidden;
}
</style>
</head>
<body>
<div class="test_div"></div>
<div class="filler"></div>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html reftest-async-scroll reftest-async-scroll-x="0" reftest-async-scroll-y="2000">
<head>
<meta charset="utf-8">
<title>Testcase for bug 1086723</title>
<style type="text/css">
.test_div {
position: fixed;
overflow: hidden;
background: blue;
width: 50%;
height: 50%;
border-radius: 0px 50% 50% 0px;
}
.filler {
height: 5000px;
}
body,html {
overflow: hidden;
}
</style>
</head>
<body>
<div class="test_div"></div>
<div class="filler"></div>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
width="100%" height="100%">
<title>Testcase for small radius circle with large center coordinates</title>
<!--From https://bugzilla.mozilla.org/show_bug.cgi?id=1131264 -->
<rect width="100%" height="100%" fill="lime"/>
<circle r="5" cx="40" cy="40" fill="red" />
<circle r="1" cx="10004" cy="10004" fill="lime"
transform="scale(10 10) translate(-10000 -10000)"/>
</svg>

After

Width:  |  Height:  |  Size: 557 B

View file

@ -0,0 +1,26 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
width="100%" height="100%">
<title>Testcase for small circles</title>
<!--From https://bugzilla.mozilla.org/show_bug.cgi?id=1143303 -->
<rect width="100%" height="100%" fill="lime"/>
<circle cx="200" cy="150" r="95" fill="red"/>
<g transform="translate(200, 150)" fill="lime">
<g transform="scale(1e8, 1e8)">
<circle cx="0" cy="0" r="1e-6"/>
</g>
</g>
<circle cx="342" cy="176.06" r="1" fill="red"/>
<g transform="translate(342,1098.55)" fill="lime">
<g transform="scale(418.2,-405.9)">
<circle cx="0" cy="2.2727" r=".006"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 769 B

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta charset="utf-8">
<title>Testcase for bug 1149923</title>
<style>
#outer {
width: 64px;
height: 64px;
background-color: #00f;
opacity: 1.0;
transform: rotate(90deg);
}
#inner {
width: 100%;
height: 100%;
background-color: #f00;
border-top-left-radius: 10%;
border-bottom-left-radius: 10%;
}
</style>
</head>
<body>
<div id='outer'><div id='inner'></div></div>
</body>
</html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta charset="utf-8">
<title>Testcase for bug 1149923</title>
<style>
#outer {
width: 64px;
height: 64px;
background-color: #00f;
opacity: 1.0;
transform: rotate(90deg);
}
#inner {
width: 100%;
height: 100%;
background-color: #f00;
will-change: transform;
border-top-left-radius: 10%;
border-bottom-left-radius: 10%;
}
</style>
</head>
<body>
<div id='outer'><div id='inner'></div></div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html><head>
<title>stretched image artifacts (test)</title>
<style>
div {
height: 5px;
background-image: url("data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=");
background-repeat: repeat-x;
}
</style>
</head><body>
<div style="width: 540px">
</div><div style="width: 541px">
</div><div style="width: 542px">
</div><div style="width: 543px">
</div><div style="width: 544px">
</div><div style="width: 545px">
</div><div style="width: 546px">
</div><div style="width: 547px">
</div><div style="width: 548px">
</div><div style="width: 549px">
</div><div style="width: 550px">
</div><div style="width: 551px">
</div><div style="width: 552px">
</div><div style="width: 553px">
</div><div style="width: 554px">
</div><div style="width: 555px">
</div><div style="width: 556px">
</div><div style="width: 557px">
</div><div style="width: 558px">
</div><div style="width: 559px">
</div></body></html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html><head>
<title>stretched image artifacts (test)</title>
<style>
img { display: block; }
div { height: 5px; }
</style>
</head><body>
<div style="width: 540px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 541px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 542px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 543px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 544px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 545px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 546px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 547px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 548px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 549px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 550px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 551px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 552px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 553px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 554px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 555px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 556px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 557px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 558px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div><div style="width: 559px">
<img width="100%" height="2" src="data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=">
</div></body></html>

View file

@ -0,0 +1,19 @@
<!doctype html>
<html class="reftest-wait">
<script type="text/javascript">
function done()
{
document.documentElement.className = "";
}
function move()
{
elem = document.getElementById("moving");
elem.addEventListener("transitionend", done, true);
elem.style.position = "relative";
elem.style.top = 0;
}
</script>
<body style="background: url('bwinton.jpg'); background-attachment: fixed" onload="move()">
<div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s; padding: 2px;">blah blah blah</div>
</body>
</html>

View file

@ -0,0 +1,6 @@
<!doctype html>
<html>
<body style="background: url('bwinton.jpg'); background-attachment: fixed">
<div style="background: url('blacktrans.png'); width: 100px; height: 100px; padding: 2px;">blah blah blah</div>
</body>
</html>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<title>glyph clipping (reference)</title>
<style>
#clip { position: absolute;
overflow: hidden;
font-size: 16px;
width: 500px;
height: 300px;}
/* Offsets keep the text far enough away from clip boundaries so that
cairo knows the text is within the clip. Non-unit alpha color makes
the bug show even without antialiasing. */
#text { position: absolute;
left: 100px;
top: 100px;
color: rgba(0,0,0,0.4)}
#cover { position: absolute;
top: 90px;
left: 120px;
height: 50px;
width: 60px;
background: transparent; }
#mod { position: absolute;
top: 400px;
left: 0px;
height: 2000px;
width: 600px;
background: transparent; }
</style>
</head>
<body>
<div id="clip">
<div id="text">
Some text that was</br>
initially partially covered.</br>
</div>
</div>
<div id="cover">
</div>
<div id="mod">
</div>
</body>
<script>
scrollTo(0,1);
</script>
</html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>glyph clipping (test)</title>
<style>
#clip { position: absolute;
overflow: hidden;
font-size: 16px;
width: 500px;
height: 300px;}
/* Offsets keep the text far enough away from clip boundaries so that
cairo knows the text is within the clip. Non-unit alpha color makes
the bug show even without antialiasing. */
#text { position: absolute;
left: 100px;
top: 100px;
color: rgba(0,0,0,0.4)}
#cover { position: absolute;
top: 90px;
left: 120px;
height: 50px;
width: 60px;
background: green; }
#mod { position: absolute;
top: 400px;
left: 0px;
height: 2000px;
width: 600px;
background: green; }
</style>
<script>
function doPaint()
{
window.addEventListener("MozAfterPaint", doScroll, false);
var cover = document.getElementById("cover");
cover.style.background = "transparent";
var mod = document.getElementById("mod");
mod.style.background = "transparent";
}
function doScroll()
{
window.removeEventListener("MozAfterPaint", doScroll, false);
window.addEventListener("MozAfterPaint", endTest, false);
scrollTo(0,1);
}
function endTest()
{
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doPaint, false);
</script>
</head>
<body>
<div id="clip">
<div id="text">
Some text that was</br>
initially partially covered.</br>
</div>
</div>
<div id="cover">
</div>
<div id="mod">
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head><title>Testcase for bug 853889</title></head>
<body>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="400px" height="400px">
<path d="M 0 0 L 0 50 L 400 50 L 400 0 Z"
fill="rgb(12,200,12)"></path>
</svg>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!doctype html>
<html>
<head><title>Testcase for bug 853889</title></head>
<body>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="400px" height="400px">
<path d="M 0 400 L 0 450 L 600 450 L 600 400 Z"
fill="rgb(200,12,12)"></path>
<path d="M 0 0 L 0 50 L 600 50 L 600 0 Z"
fill="rgb(200,12,12)"></path>
<path d="M 0 0 L 0 50 L 600 50 L 600 0 Z
M 0 400 L 0 450 L 600 450 L 600 400 Z"
fill="rgb(12,200,12)"></path>
</svg>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,8 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>Testcase reference file for generic pass condition</title>
<rect width="100%" height="100%" fill="lime"/>
</svg>

After

Width:  |  Height:  |  Size: 297 B

View file

@ -0,0 +1,12 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# 468496-1 will also detect bugs in video drivers.
== 468496-1.html 468496-1.html
skip == 611498-1.html 611498-1.html
skip == 709477-1.html 709477-1.html
# bug 773482
skip-if(!asyncPan) == 1086723.html 1086723.html
== 853889-1.html 853889-1.html
skip-if(Android) fuzzy-if(skiaContent,1,587) == 1143303-1.svg 1143303-1.svg
== 1149923.html 1149923.html
# use fuzzy due to few distorted pixels caused by border-radius
== 1131264-1.svg 1131264-1.svg

View file

@ -0,0 +1,9 @@
# 468496-1 will also detect bugs in video drivers.
== 468496-1.html 468496-1-ref.html
fuzzy(175,443) == 611498-1.html 611498-ref.html
fuzzy-if(Android,8,1000) == 709477-1.html 709477-1-ref.html
skip-if(!asyncPan) == 1086723.html 1086723-ref.html
== 853889-1.html 853889-1-ref.html
skip-if(Android) fuzzy-if(skiaContent,1,587) == 1143303-1.svg pass.svg
fuzzy(100,30) == 1149923.html 1149923-ref.html # use fuzzy due to few distorted pixels caused by border-radius
== 1131264-1.svg pass.svg