简体   繁体   English

动画中的显示属性动画是什么?

[英]is display property animation in SVG additive?

According to the svg Animate Element document animate is additive; 根据svg Animate Element文件,动画是加性的; but when I am trying to use 2 animate tag with attribute name=display , I am getting only the effect of later one in firefox 23.0 and opera 12.15, here is My svg file ; 但是,当我尝试使用attribute name=display 2个animate tag时,我只在firefox 23.0和Opera 12.15中获得后一个的效果,这是My svg文件

and Here is two animate tag 这是两个动画标签

 <animate attributeName="display" begin="0" dur="10" calcMode="discrete"  fill="remove" additive="sum" keyTimes="0;0.5;1" values="inherit;none;inherit" />
 <animate attributeName="display" begin="0" dur="10" calcMode="discrete" fill="remove" additive="sum" keyTimes="0;0.2;.8;1" values="inherit;none;inherit;none" />

I like to know if display is the special attribute for animate? 我想知道显示是否是动画的特殊属性? or it is a bug in those two browsers? 还是这两个浏览器中的错误?

显示属性是SVG规范表中 “可动画属性和属性中使用的所有其他数据类型”之一,该属性定义了某些内容是否可动画并且读取答案是否为“否”,这不是可加的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM