Liu Song’s Projects


~/Projects/chrome-devtools-frontend

git clone https://code.lsong.org/chrome-devtools-frontend

Commit

Commit
edf1393cf6108f3bd4a2ed4c841c67480a64daaa
Author
Wolfgang Beyer <[email protected]>
Date
2022-12-12 16:36:22 +0000 +0000
Diffstat
 front_end/panels/network/components/EditableSpan.css | 2 --
 front_end/panels/network/components/HeaderSectionRow.css | 2 --

Remove unneeded color definition

`color` is inheritable, which means it pierces the shadow DOM and is
inherited from outside the custom component. We therefore don't need
to define a css variable for the `color` within the custom component.

Bug: 1297533
Change-Id: If1a40dba4b4484e744ebcbec67a447503ee60638
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4097068
Reviewed-by: Danil Somsikov <[email protected]>
Auto-Submit: Wolfgang Beyer <[email protected]>
Commit-Queue: Wolfgang Beyer <[email protected]>
Commit-Queue: Danil Somsikov <[email protected]>


diff --git a/front_end/panels/network/components/EditableSpan.css b/front_end/panels/network/components/EditableSpan.css
index 535076a67fd6d986d8e8ccaad3841004a9c1015e..ea8ebcd675c73c0b72f79d1be9ca26390813a2dd 100644
--- a/front_end/panels/network/components/EditableSpan.css
+++ b/front_end/panels/network/components/EditableSpan.css
@@ -11,8 +11,6 @@
 .editable {
   cursor: text;
 /*
- * Copyright 2022 The Chromium Authors. All rights reserved.
-/*
  * Use of this source code is governed by a BSD-style license that can be
   min-height: 18px;
   line-height: 18px;




diff --git a/front_end/panels/network/components/HeaderSectionRow.css b/front_end/panels/network/components/HeaderSectionRow.css
index e369b80321085f354666e50d9ed4d0579701274b..257bb69102c5c393a422287e19af597057508088 100644
--- a/front_end/panels/network/components/HeaderSectionRow.css
+++ b/front_end/panels/network/components/HeaderSectionRow.css
@@ -29,8 +29,6 @@   font-weight: 400;
   width: 160px;
   flex-shrink: 0;
   text-transform: capitalize;
-
-  --override-contenteditable-text-color: var(--color-syntax-1);
 }
 
 .header-editable .header-name {