mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00
Bug 1401801 - Crash test. r=birtles
MozReview-Commit-ID: 4fuwnHtYcBY --HG-- extra : rebase_source : b2758805c7b0ace66cf1a60f36a9f6de96afea51
This commit is contained in:
parent
9f3bb3532e
commit
0b0436d2da
24
layout/style/crashtests/1401801.html
Normal file
24
layout/style/crashtests/1401801.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<style>
|
||||
#test {
|
||||
display: none;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
<div id="test"></div>
|
||||
<script>
|
||||
test.animate({ backgroundColor: [ 'red', 'blue' ] },
|
||||
{ duration: 1000,
|
||||
iterations: Infinity });
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
document.styleSheets[0].cssRules[0].style.setProperty('display', 'block');
|
||||
test.getBoundingClientRect();
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
@ -222,6 +222,7 @@ load 1400035.html
|
||||
load 1399546.html
|
||||
load 1400325.html
|
||||
load 1400926.html
|
||||
load 1401801.html
|
||||
load 1401256.html
|
||||
load 1402419.html
|
||||
load 1401706.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user