Web Inspector: longhand CSS properties overridden by shorthands miss strikethrough
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
1 2019-06-07  Nikita Vasilyev  <nvasilyev@apple.com>
2
3         Web Inspector: longhand CSS properties overridden by shorthands miss strikethrough
4         https://bugs.webkit.org/show_bug.cgi?id=198629
5         <rdar://problem/51504160>
6
7         Reviewed by Devin Rousso.
8
9         Longhand CSS properties (e.g. "font-size") overriden by shorthands (e.g. "font") now have strikethroughs.
10
11         * UserInterface/Models/CSSProperty.js:
12         (WI.CSSProperty.prototype.set overridingProperty):
13         (WI.CSSProperty):
14
15         * UserInterface/Models/DOMNodeStyles.js:
16         (WI.DOMNodeStyles.prototype._updateStyleCascade):
17         Call _associateRelatedProperties before _markOverriddenProperties because
18         _associateRelatedProperties sets relatedShorthandProperty property, which
19         is now used by _markOverriddenProperties.
20
21         (WI.DOMNodeStyles.prototype._markOverriddenProperties.isOverriddenBy):
22         (WI.DOMNodeStyles.prototype._markOverriddenProperties):
23
24 2019-06-06  Devin Rousso  <drousso@apple.com>
25
26         Web Inspector: Timelines: remove always disabled details sidebar navigation item
27         https://bugs.webkit.org/show_bug.cgi?id=198393
28
29         Reviewed by Timothy Hatcher.
30
31         * UserInterface/Views/TimelineTabContentView.js:
32         (WI.TimelineTabContentView):
33
34 2019-06-06  Devin Rousso  <drousso@apple.com>
35
36         Web Inspector: REGRESSION(r245833): Timelines: CPU: JavaScript label is missing and JavaScript section of pie chart is black
37         https://bugs.webkit.org/show_bug.cgi?id=198627
38
39         Reviewed by Joseph Pecoraro.
40
41         * UserInterface/Views/CPUTimelineView.js:
42         (WI.CPUTimelineView.displayNameForSampleType):
43         * UserInterface/Views/CPUTimelineView.css:
44         (.timeline-view.cpu > .content > .overview .legend > .row > .swatch.sample-type-javascript):
45         (.timeline-view.cpu .circle-chart > svg > path.segment.sample-type-javascript): Added.
46         (.timeline-view.cpu .circle-chart > svg > path.segment.sample-type-script): Deleted.
47         * UserInterface/Views/CPUUsageCombinedView.css:
48         (.cpu-usage-combined-view > .graph > .range-chart .sample-type-javascript): Added.
49         (.cpu-usage-combined-view > .graph > .range-chart .sample-type-script): Deleted.
50         Use the enum string added in r245833 (`sample-type-javascript`) instead of what was there
51         before (`sample-type-script`).
52
53         * UserInterface/Views/Variables.css:
54         (:root):
55         Rename `--cpu-script-*` to `--cpu-javascript-*`.
56
57 2019-06-06  Devin Rousso  <drousso@apple.com>
58
59         Web Inspector: Formatter: pretty-print CSS using a Worker
60         https://bugs.webkit.org/show_bug.cgi?id=197829
61         <rdar://problem/36891532>
62
63         Reviewed by Timothy Hatcher.
64
65         * UserInterface/Proxies/FormatterWorkerProxy.js:
66         (WI.FormatterWorkerProxy.prototype.formatCSS): Added.
67         * UserInterface/Workers/Formatter/FormatterWorker.js:
68         (FormatterWorker.prototype.formatCSS): Added.
69         * UserInterface/Workers/Formatter/CSSFormatter.js: Added.
70         (CSSFormatter):
71         (CSSFormatter.prototype.get success):
72         (CSSFormatter.prototype.get formattedText):
73         (CSSFormatter.prototype.get sourceMapData):
74         (CSSFormatter.prototype._format):
75
76         * UserInterface/Workers/Formatter/FormatterContentBuilder.js:
77         (FormatterContentBuilder.prototype.get currentLine): Added.
78
79         * UserInterface/Views/TextEditor.js:
80         (WI.TextEditor.prototype._canUseFormatterWorker):
81         (WI.TextEditor.prototype._startWorkerPrettyPrint):
82
83         * .eslintrc:
84
85 2019-06-06  Devin Rousso  <drousso@apple.com>
86
87         Web Inspector: Elements: print/rulers/compositing/paint navigation items shouldn't be visible if the inspected target doesn't have a PageAgent
88         https://bugs.webkit.org/show_bug.cgi?id=198410
89
90         Reviewed by Timothy Hatcher.
91
92         * UserInterface/Views/DOMTreeContentView.js:
93         (WI.DOMTreeContentView):
94         (WI.DOMTreeContentView.prototype.get navigationItems):
95         (WI.DOMTreeContentView.prototype._showRulersChanged):
96
97 == Rolled over to ChangeLog-2019-06-05 ==