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

Unified Diff: LayoutTests/fast/forms/resources/live-pseudo-selectors.css

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/forms/resources/live-pseudo-selectors.css
diff --git a/LayoutTests/fast/forms/resources/live-pseudo-selectors.css b/LayoutTests/fast/forms/resources/live-pseudo-selectors.css
index 0b5736ff38097b2bf24be12a0e773666a5449101..8c759257ccc4168239e0894aca014b2c485bf9ee 100644
--- a/LayoutTests/fast/forms/resources/live-pseudo-selectors.css
+++ b/LayoutTests/fast/forms/resources/live-pseudo-selectors.css
@@ -1,6 +1,6 @@
:invalid { background: rgb(255, 0, 0); }
:valid { background: rgb(0, 0, 255); }
:disabled { background: black; }
-:read-only { background: rgb(0, 255, 0); }
+input:read-only, textarea:read-only { background: rgb(0, 255, 0); }
input { background: white; }
textarea { background: white; }

Powered by Google App Engine
This is Rietveld 408576698