mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 1299760 - a testcase for animated-viewBox affecting clip-path. r=heycam
MozReview-Commit-ID: DHnJjyCpxZl --HG-- extra : rebase_source : 166b5b87d449bc84ef02681b7c3ff63fbaff822d
This commit is contained in:
parent
a90989b900
commit
045e2d35cd
5
layout/reftests/svg/smil/anim-clipPath-viewBox-ref.svg
Normal file
5
layout/reftests/svg/smil/anim-clipPath-viewBox-ref.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="600" height="400">
|
||||
<circle cx="300" cy="200" r="100" style="fill:blue;"/>
|
||||
</svg>
|
After Width: | Height: | Size: 182 B |
12
layout/reftests/svg/smil/anim-clipPath-viewBox.svg
Normal file
12
layout/reftests/svg/smil/anim-clipPath-viewBox.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="600" height="400" preserveAspectRatio="none"
|
||||
viewBox="50 100 500 200"
|
||||
class="reftest-wait"
|
||||
onload="setTimeAndSnapshot(1, true)">
|
||||
<script xlink:href="smil-util.js" type="text/javascript"/>
|
||||
<rect x="50" y="100" width="500" height="200" style="fill:blue;"
|
||||
clip-path="circle(100px at center) view-box"/>
|
||||
<animate attributeName="viewBox" values="50 100 500 200; 0 0 600 400"
|
||||
dur="0.5s" fill="freeze"/>
|
||||
</svg>
|
After Width: | Height: | Size: 543 B |
@ -279,3 +279,5 @@ fuzzy-if(cocoaWidget&&layersGPUAccelerated,1,2) == anim-gradient-attr-presence-0
|
||||
# Test animation that changes 'display' attribute
|
||||
== anim-display.svg lime.svg
|
||||
== anim-display-in-g-element.svg lime.svg
|
||||
|
||||
pref(layout.css.clip-path-shapes.enabled,true) fuzzy(63,146) == anim-clipPath-viewBox.svg anim-clipPath-viewBox-ref.svg
|
||||
|
Loading…
Reference in New Issue
Block a user