зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1209405 - Part 5: Add animation test that changes 'display' attribute. r=birtles
MozReview-Commit-ID: BYxlY83O83x --HG-- extra : rebase_source : 58af9fa1f93bfc81607cc27359056a611deec053
This commit is contained in:
Родитель
761ea8c326
Коммит
d4d3ef1214
|
@ -0,0 +1,23 @@
|
|||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait">
|
||||
|
||||
<title>Test animation that changes 'display' attribute on an element that is not the immediate parent</title>
|
||||
<script xlink:href="smil-util.js" type="text/javascript"/>
|
||||
|
||||
<g display="none" id="g">
|
||||
<rect width="100%" height="100%" fill="lime">
|
||||
<animate xlink:href="#g"
|
||||
attributeName="display"
|
||||
values="none;inline"
|
||||
calcMode="discrete"
|
||||
dur="100s"/>
|
||||
</rect>
|
||||
</g>
|
||||
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate", function() {
|
||||
setTimeAndWaitToSnapshot(49.9, 0.1);
|
||||
});
|
||||
</script>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 717 B |
|
@ -0,0 +1,20 @@
|
|||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait">
|
||||
|
||||
<title>Test animation that changes 'display' attribute</title>
|
||||
<script xlink:href="smil-util.js" type="text/javascript"/>
|
||||
|
||||
<rect display="none" width="100%" height="100%" fill="lime">
|
||||
<animate attributeName="display"
|
||||
values="none;inline"
|
||||
calcMode="discrete"
|
||||
dur="100s"/>
|
||||
</rect>
|
||||
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate", function() {
|
||||
setTimeAndWaitToSnapshot(49.9, 0.1);
|
||||
});
|
||||
</script>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 607 B |
|
@ -274,4 +274,8 @@ fuzzy-if(cocoaWidget&&layersGPUAccelerated,1,2) == anim-gradient-attr-presence-0
|
|||
== anim-defs-gradient-property.svg lime.svg
|
||||
== anim-defs-gradient-attribute.svg lime.svg
|
||||
== anim-defs-fill.svg lime.svg
|
||||
== anim-defs-width.svg lime.svg
|
||||
== anim-defs-width.svg lime.svg
|
||||
|
||||
# Test animation that changes 'display' attribute
|
||||
== anim-display.svg lime.svg
|
||||
== anim-display-in-g-element.svg lime.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче