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

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

Issue 3017523002: Fix uses of /deep/ in trace viewer. (Closed)
Patch Set: 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
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..b55988173fd525600cb43ae51d5c9cc1ac49ed26 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,8 @@ tr.exportTo('tr.ui.b', function() {
decorate() {
Polymer.dom(this).classList.add('chart-base');
+ this.style.cursor = 'default';
+ this.style.userSelect = 'none';
this.chartTitle_ = undefined;
this.seriesByKey_ = new Map();
this.graphWidth_ = undefined;

Powered by Google App Engine
This is Rietveld 408576698