mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1477693
- Part 4: Add one reftest and fuzz two others r=mattwoodrow
MozReview-Commit-ID: 3xGRchvAKeC --HG-- extra : rebase_source : 6bc45646f9d666f5d83fd0d811d7c769e06ba169
This commit is contained in:
parent
82395c69d1
commit
df847b113a
@ -3,13 +3,13 @@
|
||||
|
||||
fuzzy(111,1802) fuzzy-if(skiaContent,130,1000) == additive-1.svg additive-1-ref.svg # bug 981344, bug 1239766
|
||||
== animate-width-1.svg lime.svg
|
||||
fuzzy-if(cocoaWidget,1,32) fuzzy-if(winWidget,15,30) fuzzy-if(gtkWidget,3,39) fuzzy-if(webrender,3-3,9-9) == paced-1.svg paced-1-ref.svg # bug 981640, Bug 1293550
|
||||
fuzzy-if(cocoaWidget,1,32) fuzzy-if(winWidget,15,30) fuzzy-if(gtkWidget,3,39) fuzzy-if(webrender,3-3,9-9) fuzzy-if(Android,16,1) == paced-1.svg paced-1-ref.svg # bug 981640, Bug 1293550
|
||||
fuzzy-if(skiaContent,7,90) == rotate-angle-1.svg rotate-angle-ref.svg
|
||||
fuzzy-if(skiaContent,7,90) == rotate-angle-2.svg rotate-angle-ref.svg
|
||||
fuzzy-if(skiaContent,7,130) == rotate-angle-3.svg rotate-angle-ref.svg
|
||||
fuzzy-if(skiaContent,7,90) == rotate-angle-4.svg rotate-angle-ref.svg
|
||||
fuzzy-if(skiaContent,7,60) == rotate-angle-5.svg rotate-angle-ref.svg
|
||||
fuzzy(7,306) == scale-1.svg scale-1-ref.svg # bug 981004, AA difference
|
||||
fuzzy(7,306) fuzzy-if(Android,16,3) == scale-1.svg scale-1-ref.svg # bug 981004, AA difference
|
||||
== set-transform-1.svg lime.svg
|
||||
fuzzy-if(winWidget||gtkWidget||OSX,3,27) fuzzy-if(skiaContent,7,1548) == skew-1.svg skew-1-ref.svg # bug 983671, Bug 1260629
|
||||
== translate-clipPath-1.svg lime.svg
|
||||
|
21
layout/reftests/transform/invalidate-transform-1-ref.html
Normal file
21
layout/reftests/transform/invalidate-transform-1-ref.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
#green {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 208px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: green;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="green"></div>
|
||||
</body>
|
||||
</html>
|
49
layout/reftests/transform/invalidate-transform-1.html
Normal file
49
layout/reftests/transform/invalidate-transform-1.html
Normal file
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
#parent {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
#box {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: red;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#green {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 208px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: green;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div id="parent">
|
||||
<div id="box"></div>
|
||||
</div>
|
||||
<div id="green"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
var element = document.getElementById("parent");
|
||||
element.style.transform = "translate(200px, 0px)";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
window.addEventListener("MozReftestInvalidate", doTest);
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -145,3 +145,4 @@ fuzzy-if(d2d,1,5) fuzzy-if(skiaContent,26,208) == table-overflowed-by-animation.
|
||||
== translate-rounding-1.html translate-rounding-ref.html
|
||||
== translate-rounding-2.html translate-rounding-ref.html
|
||||
fails == translate-rounding-3.html translate-rounding-viewport-ref.html # bug 1397146
|
||||
== invalidate-transform-1.html invalidate-transform-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user