b895defc0e9c3ecd1a0881d683f13de5780fc392
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
1 2016-09-27  Tomas Popela  <tpopela@redhat.com>
2
3         [GTK] Mac defaults are used for key shortcuts on Linux
4         https://bugs.webkit.org/show_bug.cgi?id=162564
5
6         Don't set Mac's default keymap as a fallthrough for CodeMirror when we
7         are not on Mac.
8
9         Reviewed by Carlos Garcia Campos.
10
11         * UserInterface/Test.html: Include Platform.js for the
12         WebInspector.Platform definition.
13         * UserInterface/Views/CodeMirrorAdditions.js:
14
15 2016-09-26  Matt Baker  <mattbaker@apple.com>
16
17         Web Inspector: Box Model values not updated when DOM node styles change
18         https://bugs.webkit.org/show_bug.cgi?id=162525
19
20         Reviewed by Brian Burg.
21
22         The Box Model section should refresh itself when the selected node's
23         computed style changes. This is necessary since the Styles sidebar
24         doesn't always refresh its sections on node changes.
25
26         * UserInterface/Views/BoxModelDetailsSectionRow.js:
27         (WebInspector.BoxModelDetailsSectionRow.prototype.set nodeStyles):
28         Refresh metrics whenever the computed style changes.
29
30         (WebInspector.BoxModelDetailsSectionRow.prototype._getBox):
31         (WebInspector.BoxModelDetailsSectionRow.prototype._getComponentSuffix):
32         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createValueElement):
33         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createBoxPartElement):
34         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaElement):
35         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics):
36         Drive-by cleanup to make this large function easier to read.
37         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createElement): Deleted.
38         Renamed createValueElement.
39         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaWidthElement): Deleted.
40         (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createContentAreaHeightElement): Deleted.
41         Combined these into a single function taking a property name (width or height).
42
43 == Rolled over to ChangeLog-2016-09-26 ==