| Index: tracing/tracing/ui/base/table.html
|
| diff --git a/tracing/tracing/ui/base/table.html b/tracing/tracing/ui/base/table.html
|
| index 6b39490a53390dc46416a858170a03286b397fea..3b444a6c2952f5397cfbf0973b03ffe0a8cb0c5c 100644
|
| --- a/tracing/tracing/ui/base/table.html
|
| +++ b/tracing/tracing/ui/base/table.html
|
| @@ -171,6 +171,10 @@ tr.exportTo('tr.ui.b', function() {
|
| border-top: 1px solid #ffffff;
|
| }
|
|
|
| + :host([zebra]) table tbody tr:nth-child(even) {
|
| + background-color: #f4f4f4;
|
| + }
|
| +
|
| expand-button {
|
| -webkit-user-select: none;
|
| display: inline-block;
|
| @@ -265,6 +269,18 @@ tr.exportTo('tr.ui.b', function() {
|
| this.userCanModifySortOrder_ = true;
|
| },
|
|
|
| + set zebra(zebra) {
|
| + if (zebra) {
|
| + this.setAttribute('zebra', true);
|
| + } else {
|
| + this.removeAttribute('zebra');
|
| + }
|
| + },
|
| +
|
| + get zebra() {
|
| + return this.getAttribute('zebra');
|
| + },
|
| +
|
| get showHeader() {
|
| return this.showHeader_;
|
| },
|
|
|