зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1010681 part 4 - Add crashtest for changes to conditional processing tests on animation elements; r=longsonr
Before the changes in this bug, this test used to produce an assertion: ABORT: Rewind in the middle of a forwards seek? This was because for a timed element whose corresponding animation element fails conditional processing tests, we were still performing milestone samples even though we were skipping regular samples.
This commit is contained in:
Родитель
e9bc47a6db
Коммит
535661c1b9
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
class="reftest-wait">
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var animate =
|
||||
document.createElementNS("http://www.w3.org/2000/svg", "animate");
|
||||
animate.setAttribute("dur", "2s");
|
||||
document.documentElement.appendChild(animate);
|
||||
animate.targetElement;
|
||||
animate.requiredFeatures.insertItemBefore(0, 0);
|
||||
document.documentElement.setCurrentTime(4);
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
window.addEventListener("load", boom, false);
|
||||
|
||||
]]>
|
||||
</script></svg>
|
После Ширина: | Высота: | Размер: 608 B |
|
@ -51,3 +51,4 @@ load 697640-1.svg
|
|||
load 699325-1.svg
|
||||
load 709907-1.svg
|
||||
load 720103-1.svg
|
||||
load 1010681-1.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче