From b87a59fa491cc0a9c51745c653797914dbdd239c Mon Sep 17 00:00:00 2001 From: Halil Durak Date: Mon, 20 Oct 2025 12:41:08 +0300 Subject: [PATCH] href should have `/` if path not provided --- src/tests/html/document.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/html/document.html b/src/tests/html/document.html index b903dd28..988b51e7 100644 --- a/src/tests/html/document.html +++ b/src/tests/html/document.html @@ -68,10 +68,10 @@ let a_again = document.elementFromPoint(1.5, 0.5); testing.expectEqual('[object HTMLAnchorElement]', a_again.toString()); - testing.expectEqual('https://lightpanda.io', a_again.href); + testing.expectEqual('https://lightpanda.io/', a_again.href); let a_agains = document.elementsFromPoint(1.5, 0.5); - testing.expectEqual('https://lightpanda.io', a_agains[0].href); + testing.expectEqual('https://lightpanda.io/', a_agains[0].href); testing.expectEqual(true, !document.all);