mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Implement the HTMLAreaElement.relList
attribute
This returns a DOMTokenList that reflects the `rel` attribute.
This commit is contained in:
parent
b7fd39c2e6
commit
0a3e1846f0
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/tcl3
Commit: 0a3e1846f0
Pull-request: https://github.com/SerenityOS/serenity/pull/24342
5 changed files with 24 additions and 1 deletions
|
@ -4,3 +4,9 @@ a.relList for after setting rel to "whatever": whatever
|
|||
a.relList for after setting rel to "prefetch": prefetch
|
||||
a.relList contains "prefetch": true
|
||||
a.relList contains "whatever": false
|
||||
area.relList initial length: 0
|
||||
area.relList always returns the same value: true
|
||||
area.relList for after setting rel to "whatever": whatever
|
||||
area.relList for after setting rel to "prefetch": prefetch
|
||||
area.relList contains "prefetch": true
|
||||
area.relList contains "whatever": false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue