Skip to content
Permalink
Browse files
Web Inspector: REGRESSION(r242737): unnecessary semicolon added when …
…populating WI.TreeOutline stylesheet

https://bugs.webkit.org/show_bug.cgi?id=195689

Reviewed by Joseph Pecoraro.

* UserInterface/Views/TreeOutline.js:
(WI.TreeOutline._generateStyleRulesIfNeeded):


Canonical link: https://commits.webkit.org/209988@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
dcrousso committed Mar 13, 2019
1 parent a878ddd commit 2abee3885d26067a3abe8272997cf24877587b0d
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,13 @@
2019-03-13 Devin Rousso <drousso@apple.com>

Web Inspector: REGRESSION(r242737): unnecessary semicolon added when populating WI.TreeOutline stylesheet
https://bugs.webkit.org/show_bug.cgi?id=195689

Reviewed by Joseph Pecoraro.

* UserInterface/Views/TreeOutline.js:
(WI.TreeOutline._generateStyleRulesIfNeeded):

2019-03-13 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Network - HAR Export duplicates blocked/send time if there was no dns/connect block
@@ -955,7 +955,7 @@ WI.TreeOutline = class TreeOutline extends WI.Object
childrenSubstring += i === maximumTreeDepth ? " .children" : " > .children";
styleText += `.${WI.TreeOutline.ElementStyleClassName}:not(.${WI.TreeOutline.CustomIndentStyleClassName})${childrenSubstring} > .item { `;
styleText += `-webkit-padding-start: calc(var(--tree-outline-item-padding) + ${depthPadding * i}px);`;
styleText += ` };\n`;
styleText += ` }\n`;
}

WI.TreeOutline._styleElement.textContent = styleText;

0 comments on commit 2abee38

Please sign in to comment.