diff --git a/Tests/LibWeb/Text/expected/element-get-bounding-client-rect-of-sticky.txt b/Tests/LibWeb/Text/expected/element-get-bounding-client-rect-of-sticky.txt index e8da9ba4d9d..b452fbd22d6 100644 --- a/Tests/LibWeb/Text/expected/element-get-bounding-client-rect-of-sticky.txt +++ b/Tests/LibWeb/Text/expected/element-get-bounding-client-rect-of-sticky.txt @@ -1 +1 @@ - Sticky Element Bounding Client Rect: top=50, left=10, width=500, height=57 +Bounding Client Rect: top=50, left=10, width=500, height=57 diff --git a/Tests/LibWeb/Text/input/element-get-bounding-client-rect-of-sticky.html b/Tests/LibWeb/Text/input/element-get-bounding-client-rect-of-sticky.html index cac7a90e2b9..5ad24fab860 100644 --- a/Tests/LibWeb/Text/input/element-get-bounding-client-rect-of-sticky.html +++ b/Tests/LibWeb/Text/input/element-get-bounding-client-rect-of-sticky.html @@ -40,10 +40,6 @@ const stickyElement = document.getElementById("sticky-element"); const boundingRect = stickyElement.getBoundingClientRect(); - const result = document.createElement("p"); - result.textContent = `Bounding Client Rect: top=${boundingRect.top}, left=${boundingRect.left}, width=${boundingRect.width}, height=${boundingRect.height}`; - document.body.appendChild(result); - - println(document.body.innerText); + println(`Bounding Client Rect: top=${boundingRect.top}, left=${boundingRect.left}, width=${boundingRect.width}, height=${boundingRect.height}`); });