mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Fix case insensitivity for HTMLElement "hidden" attribute
This commit is contained in:
committed by
Jelle Raaijmakers
parent
bf8b8c260a
commit
5e23df7d8a
Notes:
github-actions[bot]
2025-09-11 13:21:48 +00:00
Author: https://github.com/veeti Commit: https://github.com/LadybirdBrowser/ladybird/commit/5e23df7d8a4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6153 Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/tcl3
@@ -0,0 +1,13 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
8 Pass
|
||||
Pass hidden-ua-stylesheet
|
||||
Pass div.removeAttribute('hidden')
|
||||
Pass div.setAttribute('hidden', '')
|
||||
Pass div.setAttribute('hidden', 'asdf')
|
||||
Pass div.setAttribute('hidden', 'until-found')
|
||||
Pass div.setAttribute('hidden', 'UNTIL-FOUND')
|
||||
Pass div.setAttribute('hidden', 'UnTiL-FoUnD')
|
||||
Pass div.setAttribute('hidden', '0')
|
||||
@@ -0,0 +1,6 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Pass
|
||||
Pass element.hidden should return "until-found" regardless of uppercase letters.
|
||||
Reference in New Issue
Block a user