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

Unified Diff: tracing/tracing/ui/base/chart_base.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/trace_viewer.gypi ('k') | tracing/tracing/ui/base/chart_base_2d.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/chart_base.html
diff --git a/tracing/tracing/ui/base/chart_base.html b/tracing/tracing/ui/base/chart_base.html
index 7671d9e719c9a343ca3df7f77c74251ba687bd58..cdd371a81fe707e3f254a29428f430296f40d5ce 100644
--- a/tracing/tracing/ui/base/chart_base.html
+++ b/tracing/tracing/ui/base/chart_base.html
@@ -10,20 +10,6 @@ found in the LICENSE file.
<link rel="import" href="/tracing/ui/base/d3.html">
<link rel="import" href="/tracing/ui/base/ui.html">
-<style>
- * /deep/ .chart-base {
- -webkit-user-select: none;
- cursor: default;
- }
-
- * /deep/ .chart-base .axis path,
- * /deep/ .chart-base .axis line {
- fill: none;
- shape-rendering: crispEdges;
- stroke: #000;
- }
-</style>
-
<template id="chart-base-template">
<svg> <!-- svg tag is dropped by ChartBase.decorate. -->
<g xmlns="http://www.w3.org/2000/svg" id="chart-area">
@@ -177,6 +163,7 @@ tr.exportTo('tr.ui.b', function() {
decorate() {
Polymer.dom(this).classList.add('chart-base');
+ this.setAttribute('style', 'cursor: default; userSelect: none;');
this.chartTitle_ = undefined;
this.seriesByKey_ = new Map();
this.graphWidth_ = undefined;
« no previous file with comments | « tracing/trace_viewer.gypi ('k') | tracing/tracing/ui/base/chart_base_2d.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698