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

Unified Diff: chrome/browser/resources/settings/controls/controlled_radio_button.html

Issue 2821383002: MD Settings: make [un]controlled radio buttons actionable (cursor: pointer) (Closed)
Patch Set: Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/controls/controlled_radio_button.html
diff --git a/chrome/browser/resources/settings/controls/controlled_radio_button.html b/chrome/browser/resources/settings/controls/controlled_radio_button.html
index c19f779f335fdba05cf49336558622e7b2ff0417..b59221d327e8ad116a15424027e7888308a7c788 100644
--- a/chrome/browser/resources/settings/controls/controlled_radio_button.html
+++ b/chrome/browser/resources/settings/controls/controlled_radio_button.html
@@ -83,6 +83,10 @@
--primary-text-color);
}
+ :host(:not([controlled_])) {
dpapad 2017/04/18 18:58:32 Can radio buttons be disabled otherwise? For examp
Dan Beam 2017/04/18 19:00:37 no
Dan Beam 2017/04/18 19:10:49 that was the short answer. the longer answer is t
Dan Beam 2017/04/18 19:12:22 also, i'm not really sure how [disabled] works in
+ @apply(--settings-actionable);
+ }
+
:host([controlled_]) {
/* Disable pointer events for this whole element, as outer on-tap gets
* triggered when clicking/tapping anywhere in :host. */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698