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

Unified Diff: LayoutTests/fast/css/readwrite-contenteditable-expected.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: Remove html, head and body tags from test. 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/readwrite-contenteditable-expected.html
diff --git a/LayoutTests/fast/css/readwrite-contenteditable-expected.html b/LayoutTests/fast/css/readwrite-contenteditable-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..67a08ed95d46fbb4c848c546ae093d42ec01b7fd
--- /dev/null
+++ b/LayoutTests/fast/css/readwrite-contenteditable-expected.html
@@ -0,0 +1,17 @@
+<!doctype html>
+
+<style>
+ .readonly { background-color: #ccf; }
+ .readwrite { background-color: #fcc; }
+</style>
+
+<div class="readonly">Read-only</div>
+<div class="readonly">Read-only <span class="readonly">Read-only</span></div>
+<div class="readonly">Read-only <span class="readwrite">Read-write</span></div>
+<div class="readwrite">Read-write <span>Read-write</span></div>
+<div class="readwrite">Read-write <span class="readonly">Read-only</span></div>
+<div class="readwrite">Read-write <span class="readonly">Read-only <span>Read-only</span</span></div>
+
+<div <span class="readonly">Read-only <span class="readwrite">Read-write</span></div>
+<div <span class="readonly">Read-only <span class="readwrite">Read-write <span>Read-write</span></span></div>
+<div class="readwrite">Read-write <span class="readonly">Read-only <span>Read-only</span></span></div>
« no previous file with comments | « LayoutTests/fast/css/readwrite-contenteditable.html ('k') | LayoutTests/fast/css/readwrite-contenteditable-recalc.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698