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

Unified Diff: LayoutTests/fast/css/readwrite-contenteditable.html

Issue 236753004: Re-land "Improve support for :read-only and :read-write pseudoclasses". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/readwrite-contenteditable-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/readwrite-contenteditable.html
diff --git a/LayoutTests/fast/css/readwrite-contenteditable.html b/LayoutTests/fast/css/readwrite-contenteditable.html
new file mode 100644
index 0000000000000000000000000000000000000000..f5767a9d8f9cf87fc74caee3c074d5ca039f6b4f
--- /dev/null
+++ b/LayoutTests/fast/css/readwrite-contenteditable.html
@@ -0,0 +1,17 @@
+<!doctype html>
+
+<style>
+ div:read-only, span:read-only { background-color: #ccf; }
+ div:read-write, span:read-write { background-color: #fcc; }
+</style>
+
+<div>Read-only</div>
+<div>Read-only <span>Read-only</span></div>
+<div>Read-only <span contenteditable="true">Read-write</span></div>
+<div contenteditable="true">Read-write <span>Read-write</span></div>
+<div contenteditable="true">Read-write <span contenteditable="false">Read-only</span></div>
+<div contenteditable="true">Read-write <span contenteditable="false">Read-only <span>Read-only</span</span></div>
+
+<div>Read-only <span contenteditable>Read-write</span></div>
+<div>Read-only <span contenteditable>Read-write <span contenteditable="inherit">Read-write</span></span></div>
+<div contenteditable>Read-write <span contenteditable="false">Read-only <span contenteditable="inherit">Read-only</span></span></div>
« no previous file with comments | « no previous file | LayoutTests/fast/css/readwrite-contenteditable-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698