diff options
Diffstat (limited to 'layout/reftests/svg/current-translate-02.svg')
-rw-r--r-- | layout/reftests/svg/current-translate-02.svg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/svg/current-translate-02.svg b/layout/reftests/svg/current-translate-02.svg new file mode 100644 index 0000000000..8e272138e0 --- /dev/null +++ b/layout/reftests/svg/current-translate-02.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg"> + <script> + onload = function() { + document.documentElement.currentTranslate.x = 200; + document.documentElement.currentTranslate.y = 200; + }; + </script> + <rect width="100%" height="100%" fill="red"/> + <rect x="-200" y="-200" width="100%" height="100%" fill="lime"/> +</svg> |