Files
ladybird/Tests/LibWeb/Text/expected/textarea-clear.txt
Praise-Garfield 56287ca90f LibWeb: Clear textarea with empty string for WebDriver
The WebDriver clear handler for textarea elements sets the raw
value to child_text_content() instead of an empty string. This
is a copy-paste from the adjacent reset handler, which correctly
uses child_text_content() per its own spec. The clear spec says
"set the raw value of element to an empty string".
2026-02-13 15:29:02 -05:00

3 lines
72 B
Plaintext

1. value after clear: ""
2. defaultValue after clear: "initial content"