blob: 58c79200357563086ce7cc262b50ee0d18088b5d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
}
#svg-root {
margin: 5px;
border: solid 10px aqua;
padding: 15px;
background-color: blue;
}
</style>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/elements-test.js"></script>
<script>
function test()
{
InspectorTest.dumpInspectorHighlightJSON("svg-root", InspectorTest.completeTest.bind(InspectorTest));
}
</script>
</head>
<body onload="runTest()">
<svg id="svg-root" width="100" height="100" viewbox="0 0 50 50"></svg>
<p id="description">This test verifies the position and size of the highlight rectangles overlayed on an SVG root element.</p>
</body>
</html>