blob: a14e7e6f53ae2a1a8c06006e5ca4041541aa9bee [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<svg><path d="M 100,100"></path></svg>
<script>
rect = document.querySelector("path").getBoundingClientRect();
shouldBe("rect.top", "108");
shouldBe("rect.left", "108");
shouldBe("rect.width", "0");
shouldBe("rect.height", "0");
</script>
</body>
</html>