Index: LayoutTests/svg/custom/getBBox-perpendicular-polygon.svg |
diff --git a/LayoutTests/svg/custom/getBBox-perpendicular-path.svg b/LayoutTests/svg/custom/getBBox-perpendicular-polygon.svg |
similarity index 70% |
copy from LayoutTests/svg/custom/getBBox-perpendicular-path.svg |
copy to LayoutTests/svg/custom/getBBox-perpendicular-polygon.svg |
index 8c5d5e8d08b729f2538e7a5989c07c4559044ddc..f57358d82a862f98e486bbeec00a43c5b10aa621 100644 |
--- a/LayoutTests/svg/custom/getBBox-perpendicular-path.svg |
+++ b/LayoutTests/svg/custom/getBBox-perpendicular-polygon.svg |
@@ -1,5 +1,4 @@ |
-<?xml version="1.0" encoding="UTF-8"?> |
-<!-- Test the bounding box calculated for two perpendicular lines of length 100px --> |
+<!-- Test the bounding box calculated for two perpendicular lines of length 100px created with the polygon element --> |
<!-- If the bounding box is 100x100, we consider this test passing. --> |
<svg xmlns="http://www.w3.org/2000/svg" onload="init()"> |
<script type="text/javascript"> |
@@ -19,8 +18,8 @@ |
]]> |
</script> |
<g id="shape"> |
- <path stroke="#666666" stroke-width="2.0" stroke-linejoin="round" stroke-linecap="butt" d="M5 5L5 105" fill-rule="nonzero"></path> |
- <path stroke="#666666" stroke-width="2.0" stroke-linejoin="round" stroke-linecap="butt" d="M5 5L105 5" fill-rule="nonzero"></path> |
+ <polygon stroke="#666666" stroke-width="2.0" stroke-linejoin="round" stroke-linecap="butt" points="5,5 5,105" fill-rule="nonzero" /> |
+ <polygon stroke="#666666" stroke-width="2.0" stroke-linejoin="round" stroke-linecap="butt" points="5,5 105,5" fill-rule="nonzero" /> |
</g> |
<text id="text" x="50" y="50" /> |
</svg> |