4 div:read-only, span:read-only { background-color: #ccf; }
5 div:read-write, span:read-write { background-color: #fcc; }
9 <div>Read-only
<span>Read-only
</span></div>
10 <div>Read-only
<span contenteditable=
"true">Read-write
</span></div>
11 <div contenteditable=
"true">Read-write
<span>Read-write
</span></div>
12 <div contenteditable=
"true">Read-write
<span contenteditable=
"false">Read-only
</span></div>
13 <div contenteditable=
"true">Read-write
<span contenteditable=
"false">Read-only
<span>Read-only
</span</span></div>
15 <div>Read-only
<span contenteditable
>Read-write
</span></div>
16 <div>Read-only
<span contenteditable
>Read-write
<span contenteditable=
"inherit">Read-write
</span></span></div>
17 <div contenteditable
>Read-write
<span contenteditable=
"false">Read-only
<span contenteditable=
"inherit">Read-only
</span></span></div>