Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/smil/style/anim-css-font-1.svg
width="300px" height="400px"
class="reftest-wait"
onload="go()">
<script xlink:href="../smil-util.js" type="text/javascript"/>
<script>
function go() {
requestAnimationFrame(() => { setTimeAndSnapshot(3.0, true) });
}
</script>
<!-- 'inherit' to 'caption' -->
<text x="0px" y="50px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="inherit" to="caption" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="50px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="inherit" to="caption" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="50px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="inherit" to="caption" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="50px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="inherit" to="caption" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="50px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="inherit" to="caption" begin="1.0s" dur="2s"/>
</text>
<!-- 'caption' to 'inherit' -->
<text x="0px" y="100px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="inherit" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="100px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="inherit" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="100px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="inherit" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="100px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="inherit" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="100px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="inherit" begin="1.0s" dur="2s"/>
</text>
<!-- 'caption' to 'icon' -->
<text x="0px" y="150px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="icon" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="150px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="icon" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="150px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="icon" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="150px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="icon" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="150px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="icon" begin="1.0s" dur="2s"/>
</text>
<!-- 'caption' to 'menu' -->
<text x="0px" y="200px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="menu" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="200px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="menu" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="200px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="menu" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="200px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="menu" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="200px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="menu" begin="1.0s" dur="2s"/>
</text>
<!-- 'caption' to 'message-box' -->
<text x="0px" y="250px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="message-box" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="250px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="message-box" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="250px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="message-box" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="250px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="message-box" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="250px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="message-box" begin="1.0s" dur="2s"/>
</text>
<!-- 'caption' to 'small-caption' -->
<text x="0px" y="300px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="small-caption" begin="4.0s" dur="2s"/>
</text>
<text x="50px" y="300px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="small-caption" begin="3.0s" dur="2s"/>
</text>
<text x="100px" y="300px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="small-caption" begin="2.01s" dur="2s"/>
</text>
<text x="150px" y="300px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="small-caption" begin="2.0s" dur="2s"/>
</text>
<text x="200px" y="300px">abc
<animate attributeName="font" attributeType="CSS" fill="freeze"
from="caption" to="small-caption" begin="1.0s" dur="2s"/>
</text>
</svg>