Web Inspector: AXI: linkified refs to #document and #text are not usually navigable...
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
1 2016-09-29  Aaron Chu  <aaron_chu@apple.com>
2
3         Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them
4         https://bugs.webkit.org/show_bug.cgi?id=130600
5         <rdar://problem/16391333>
6
7         Reviewed by Brian Burg.
8
9         Removing link style for non-navigable nodes by first
10         checking nodeType of the node.
11
12         * UserInterface/Base/DOMUtilities.js:
13         (WebInspector.linkifyNodeReference):
14
15 2016-09-27  Matt Baker  <mattbaker@apple.com>
16
17         Web Inspector: Refreshing while in Timelines-tab causes negative timestamps in Network-tab
18         https://bugs.webkit.org/show_bug.cgi?id=160051
19         <rdar://problem/27480122>
20
21         Reviewed by Brian Burg.
22
23         * UserInterface/Views/NetworkGridContentView.js:
24         (WebInspector.NetworkGridContentView.prototype.get startTime):
25         (WebInspector.NetworkGridContentView.prototype.get zeroTime):
26         Use the cached start time for graph data source properties instead of
27         relying on the ruler, which requires a layout in order to be updated
28         for the first time.
29
30 2016-09-27  Matt Baker  <mattbaker@apple.com>
31
32         Web Inspector: Unfocusing / Focusing inspector window should not change ContentView
33         https://bugs.webkit.org/show_bug.cgi?id=162572
34         <rdar://problem/28479562>
35
36         Reviewed by Brian Burg.
37
38         Improve NavigationSidebarPanel logic for coordinating selection between trees.
39         When tree selection changes, the most recent selection should be restored
40         the next time the tree is focused.
41
42         The sidebar should also handle focusing a tree for the first time, in
43         which no previous selection exists, and focusing a tree that has had its
44         previous selection filtered out (hidden).
45
46         * UserInterface/Views/NavigationSidebarPanel.js:
47         (WebInspector.NavigationSidebarPanel.prototype._contentTreeOutlineDidFocus):
48         (WebInspector.NavigationSidebarPanel.prototype._contentTreeOutlineTreeSelectionDidChange):
49         Restoring the last deselected element, instead of the last selected element
50         only works when the selection is moving from one tree to another. When
51         the elements belong to the same tree the newly selected element won't
52         be saved until the next selection change. If the window loses and regains
53         the focus before then, the tree will restore the previous selection,
54         effectively reverting the last selection change.
55
56 2016-09-27  Tomas Popela  <tpopela@redhat.com>
57
58         [GTK] Mac defaults are used for key shortcuts on Linux
59         https://bugs.webkit.org/show_bug.cgi?id=162564
60
61         Don't set Mac's default keymap as a fallthrough for CodeMirror when we
62         are not on Mac.
63
64         Reviewed by Carlos Garcia Campos.
65
66         * UserInterface/Test.html: Include Platform.js for the
67         WebInspector.Platform definition.
68         * UserInterface/Views/CodeMirrorAdditions.js:
69
70 2016-09-26  Matt Baker  <mattbaker@apple.com>
71
72         Web Inspector: Box Model values not updated when DOM node styles change
73         https://bugs.webkit.org/show_bug.cgi?id=162525
74
75         Reviewed by Brian Burg.
76
77         The Box Model section should refresh itself when the selected node's
78         computed style changes. This is necessary since the Styles sidebar
79         doesn't always refresh its sections on node changes.
80
81         * UserInterface/Views/BoxModelDetailsSectionRow.js:
82         (WebInspector.BoxModelDetailsSectionRow.prototype.set nodeStyles):
83         Refresh metrics whenever the computed style changes.
84
85         (WebInspector.BoxModelDetailsSectionRow.prototype._getBox):
86         (WebInspector.BoxModelDetailsSectionRow.prototype._getComponentSuffix):
87         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createValueElement):
88         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createBoxPartElement):
89         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaElement):
90         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics):
91         Drive-by cleanup to make this large function easier to read.
92         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createElement): Deleted.
93         Renamed createValueElement.
94         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaWidthElement): Deleted.
95         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaHeightElement): Deleted.
96         Combined these into a single function taking a property name (width or height).
97
98 == Rolled over to ChangeLog-2016-09-26 ==