mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
href should have / if path not provided
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user