diff --git a/src/browser/html/elements.zig b/src/browser/html/elements.zig
index 3bc64ddc..6efb839f 100644
--- a/src/browser/html/elements.zig
+++ b/src/browser/html/elements.zig
@@ -1593,8 +1593,9 @@ test "Browser.HTML.Element" {
try runner.testCases(&.{
.{ "let l2 = document.createElement('link');", null },
- .{ "l2.href = 'https://lightpanda.io/'", null },
- .{ "l2.href", "https://lightpanda.io/" },
+ .{ "l2.href", "" },
+ .{ "l2.href = 15", null },
+ .{ "l2.href", "https://lightpanda.io/15" },
}, .{});
}