зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1363639 - stylo: Make interpolation of rect() match Gecko. r=emilio
MozReview-Commit-ID: GKLuA9JeOmz --HG-- extra : rebase_source : 76b1ac38924088eb4b48c30b32ffa39bb311f5b0
This commit is contained in:
Родитель
c481d736bc
Коммит
d8c5e6208c
|
@ -0,0 +1,28 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Bug 1363639</title>
|
||||
<style>
|
||||
#outer {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 200px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer"><div id="inner"></div></div>
|
||||
<script>
|
||||
var target = document.querySelector("#outer");
|
||||
var anim = target.animate([
|
||||
{clip: 'rect(0px, auto, 0px, 0px)'},
|
||||
{clip: 'rect(0px, auto, 200px, 0px)'}
|
||||
], 2000);
|
||||
anim.pause();
|
||||
anim.currentTime = 1000;
|
||||
document.documentElement.removeAttribute("class");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -2,6 +2,7 @@ test-pref(dom.animations-api.core.enabled,true) == 1246046-1.html green-box.html
|
|||
test-pref(dom.animations-api.core.enabled,true) == 1267937-1.html 1267937-ref.html
|
||||
# see bug 1353399. Intermittent with WR enabled
|
||||
test-pref(dom.animations-api.core.enabled,true) random-if(webrender) == 1298742-1.html 1298742-ref.html
|
||||
test-pref(dom.animations-api.core.enabled,true) == 1363639-1.html green-box.html
|
||||
test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-none-animation-before-appending-element.html stacking-context-animation-ref.html
|
||||
test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-keyframe.html stacking-context-animation-ref.html
|
||||
test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-keyframe-in-delay.html stacking-context-animation-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче