LibWeb: Fix case insensitivity for HTMLElement "hidden" attribute

This commit is contained in:
Veeti Paananen
2025-09-10 21:02:12 +03:00
committed by Jelle Raaijmakers
parent bf8b8c260a
commit 5e23df7d8a
Notes: github-actions[bot] 2025-09-11 13:21:48 +00:00
5 changed files with 111 additions and 2 deletions

View File

@@ -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')

View File

@@ -0,0 +1,6 @@
Harness status: OK
Found 1 tests
1 Pass
Pass element.hidden should return "until-found" regardless of uppercase letters.