mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb: Implement the :read-only
and :read-write
pseudo-classes
This commit is contained in:
parent
3d10bf3ae7
commit
9f5b1e6614
5 changed files with 65 additions and 0 deletions
13
Tests/LibWeb/Ref/css-read-only-read-write-selectors.html
Normal file
13
Tests/LibWeb/Ref/css-read-only-read-write-selectors.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<style>
|
||||
body :read-write {
|
||||
background-color: green;
|
||||
}
|
||||
body :read-only {
|
||||
border: 4px solid magenta;
|
||||
}
|
||||
</style>
|
||||
<input type="text" readonly>
|
||||
<input type="text">
|
||||
|
||||
<p>Well hello friends</p>
|
||||
<p contenteditable>Well hello friends</p>
|
Loading…
Add table
Add a link
Reference in a new issue