mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-22 11:02:53 +00:00
11 lines
404 B
HTML
11 lines
404 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<svg></svg>
|
|
<script>
|
|
test(() => {
|
|
const svgElement = document.querySelector("svg");
|
|
const boundingBox = svgElement.getBBox();
|
|
println(`Bounding box of empty SVG element - x: ${boundingBox.x}, y: ${boundingBox.y}, width: ${boundingBox.width}, height: ${boundingBox.height}`);
|
|
svgElement.remove();
|
|
});
|
|
</script>
|