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

Unified Diff: tracing/tracing/ui/base/dom_helpers.html

Issue 3017523002: Fix uses of /deep/ in trace viewer. (Closed)
Patch Set: fix tests Created 3 years, 3 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 | « tracing/tracing/ui/base/chart_base_2d.html ('k') | tracing/tracing/ui/base/list_and_associated_view.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/dom_helpers.html
diff --git a/tracing/tracing/ui/base/dom_helpers.html b/tracing/tracing/ui/base/dom_helpers.html
index 0aa3237df91a18be62f9ba2d3a0cd83ab36bc0cd..adf7f10b34ddd886230a7e3304712410430d79a3 100644
--- a/tracing/tracing/ui/base/dom_helpers.html
+++ b/tracing/tracing/ui/base/dom_helpers.html
@@ -8,13 +8,6 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/settings.html">
<link rel="import" href="/tracing/ui/base/ui.html">
-<style>
-* /deep/ .labeled-checkbox {
- display: flex;
- white-space: nowrap;
-}
-</style>
-
<script>
'use strict';
@@ -302,7 +295,9 @@ tr.exportTo('tr.ui.b', function() {
const id = '#checkbox-' + nextCheckboxId++;
- const spanEl = createSpan({className: 'labeled-checkbox'});
+ const spanEl = createSpan();
+ spanEl.style.display = 'flex';
+ spanEl.style.whiteSpace = 'nowrap';
Polymer.dom(buttonEl).setAttribute('id', id);
const labelEl = document.createElement('label');
« no previous file with comments | « tracing/tracing/ui/base/chart_base_2d.html ('k') | tracing/tracing/ui/base/list_and_associated_view.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698