| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <title>getScreenCTM tests</title> | 2 <title>getScreenCTM tests</title> |
| 3 <script src=../../resources/testharness.js></script> | 3 <script src=../../resources/testharness.js></script> |
| 4 <script src=../../resources/testharnessreport.js></script> | 4 <script src=../../resources/testharnessreport.js></script> |
| 5 <div id="testcontainer"> | 5 <div id="testcontainer"> |
| 6 <style> | 6 <style> |
| 7 svg { | 7 svg { |
| 8 visibility: hidden; | 8 visibility: hidden; |
| 9 position: absolute; | 9 position: absolute; |
| 10 top:0; | 10 top:0; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 var ctm = ctmToString(document.getElementById("f").getScreenCTM()); | 52 var ctm = ctmToString(document.getElementById("f").getScreenCTM()); |
| 53 assert_equals(ctm, "0.5 0 0 0.5 0 0", ""); | 53 assert_equals(ctm, "0.5 0 0 0.5 0 0", ""); |
| 54 }, "nested svg"); | 54 }, "nested svg"); |
| 55 | 55 |
| 56 test(function() { | 56 test(function() { |
| 57 var ctm = ctmToString(document.getElementById("g").getScreenCTM()); | 57 var ctm = ctmToString(document.getElementById("g").getScreenCTM()); |
| 58 assert_equals(ctm, "0.5 0 0 0.5 0 0", ""); | 58 assert_equals(ctm, "0.5 0 0 0.5 0 0", ""); |
| 59 }, "g child of nested svg"); | 59 }, "g child of nested svg"); |
| 60 | 60 |
| 61 </script> | 61 </script> |
| OLD | NEW |