ladybird/Tests/LibWeb/Ref/input/css-read-only-read-write-selectors.html
zac 8c29b0a848 LibWeb/Tests: Add empty text chunk in empty editables
Otherwise the cursor won't get rendered in empty input fields.
2025-09-24 12:33:17 +01:00

15 lines
384 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/css-read-only-read-write-selectors-ref.html" />
<style>
body :read-write {
background-color: green;
}
body :read-only {
border: 4px solid magenta;
}
</style>
<input type="text" readonly value="whf">
<input type="text" value="whf">
<p>Well hello friends</p>
<p contenteditable>Well hello friends</p>