Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 3 | <rect id="test" x="100" y="100" width="100" height="100"/> |
michael@0 | 4 | <script> |
michael@0 | 5 | window.onload = function() { |
michael@0 | 6 | var node = document.getElementById("test"); |
michael@0 | 7 | node.style.width = "200px"; |
michael@0 | 8 | } |
michael@0 | 9 | </script> |
michael@0 | 10 | </svg> |