1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:57:44 +00:00

LibWeb: Implement value attribute of RadioNodeList

This commit is contained in:
Shannon Booth 2023-08-25 12:28:36 +12:00 committed by Andreas Kling
parent 708263790a
commit f115e44066
5 changed files with 180 additions and 1 deletions

View file

@ -0,0 +1,47 @@
value1 value2 ===================
non-checked-with-value
===================
2
value1
value2
value = ''
value = ''
===================
checked-with-value
===================
2
value3
value4
value = 'value3'
value = 'value3'
===================
checked-no-value
===================
2
on
on
value = 'on'
value = 'on'
===================
no-radio-button
===================
2
value1
value2
value = ''
value = ''
===================
non-checked-with-value
===================
value =
value = value1
===================
non-checked-no-value
===================
value =
value = on
===================
non-checked-value-on
===================
value =
value = on