mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
LibWeb: Implement the HTMLLinkElement.relList
attribute
This returns a DOMTokenList that reflects the `rel` attribute.
This commit is contained in:
parent
fc4e0cf10e
commit
51fc30a191
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/tcl3
Commit: 51fc30a191
Pull-request: https://github.com/SerenityOS/serenity/pull/24342
5 changed files with 25 additions and 2 deletions
|
@ -16,3 +16,9 @@ form.relList for after setting rel to "whatever": whatever
|
|||
form.relList for after setting rel to "prefetch": prefetch
|
||||
form.relList contains "prefetch": true
|
||||
form.relList contains "whatever": false
|
||||
link.relList initial length: 0
|
||||
link.relList always returns the same value: true
|
||||
link.relList for after setting rel to "whatever": whatever
|
||||
link.relList for after setting rel to "prefetch": prefetch
|
||||
link.relList contains "prefetch": true
|
||||
link.relList contains "whatever": false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue