ladybird/Tests/LibWeb/Layout/input/select-with-option-selected.html
Tim Ledbetter 4e383bdac1 LibWeb: Set select element text when an option is initially selected
Previously, a select element's text would initially be empty if the
`selected` property was set on one of its options.
2024-01-29 20:05:14 +00:00

6 lines
115 B
HTML

<!DOCTYPE html>
<select>
<option>Option 1</option>
<option selected="selected">Option 2</option>
</select>