Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: LayoutTests/fast/css/readwrite-contenteditable.html

Issue 148223004: Improve support for :read-only and :read-write pseudoclasses. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix handling of ancestral changes in contenteditable attribute. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
esprehn 2014/02/18 07:18:41 Same.
4 <style>
5 div:read-only, span:read-only { background-color: #ccf; }
6 div:read-write, span:read-write { background-color: #fcc; }
7 </style>
8 </head>
9 <body>
10 <div>Read-only</div>
11 <div>Read-only <span>Read-only</span></div>
12 <div>Read-only <span contenteditable="true">Read-write</span></div>
13 <div contenteditable="true">Read-write <span>Read-write</span></div>
14 <div contenteditable="true">Read-write <span contenteditable="false">Rea d-only</span></div>
15 <div contenteditable="true">Read-write <span contenteditable="false">Rea d-only <span>Read-only</span</span></div>
16
17 <div>Read-only <span contenteditable>Read-write</span></div>
18 <div>Read-only <span contenteditable>Read-write <span contenteditable="i nherit">Read-write</span></span></div>
19 <div contenteditable>Read-write <span contenteditable="false">Read-only <span contenteditable="inherit">Read-only</span></span></div>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698