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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_section.html

Issue 2223083003: MD Settings: Skip hidden nodes when searching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_subpage_assertion
Patch Set: Created 4 years, 4 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: chrome/browser/resources/settings/settings_page/settings_section.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_section.html b/chrome/browser/resources/settings/settings_page/settings_section.html
index d475b15efe6587764b2b2dae6068bfcdb929de96..0f202b68efcce82ea58cdcf138a9860a479a74ef 100644
--- a/chrome/browser/resources/settings/settings_page/settings_section.html
+++ b/chrome/browser/resources/settings/settings_page/settings_section.html
@@ -41,6 +41,10 @@
:host(.expanded.frozen) #card {
position: relative;
}
+
+ :host(.hidden-for-search) {
Dan Beam 2016/08/09 22:01:38 can we maybe make this a property and use reflectT
dpapad 2016/08/09 23:03:02 What would be the benefit? Current approach is nat
Dan Beam 2016/08/09 23:05:01 classes set from external code are overly tightly
dpapad 2016/08/09 23:30:29 Changed to attribute.
+ display: none;
+ }
</style>
<div id="header">
<div class="title">{{pageTitle}}</div>

Powered by Google App Engine
This is Rietveld 408576698