1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibWeb: Fully implement the HTMLInputElement value setter and getter

The setter was missing an implementation for the default and default/on
value attribute modes. This patch adds a method to get the current value
attribute mode, and implements the value setter and getter based on that
mode according to the spec.
This commit is contained in:
Timothy Flynn 2024-02-17 16:27:41 -05:00 committed by Alexander Kalenik
parent cfb9c5bb0e
commit ce9ad3a236
4 changed files with 147 additions and 70 deletions

View file

@ -0,0 +1,5 @@
pass text: "pass"
hidden: "pass"
button: "pass"
checkbox: "pass"
file: "" (threw exception)