Changeset 181723 in webkit
- Timestamp:
- Mar 18, 2015, 8:26:58 PM (11 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 1 deleted
- 7 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Main.html (modified) (1 diff)
-
UserInterface/Views/DOMNodeDetailsSidebarPanel.js (modified) (1 diff)
-
UserInterface/Views/DetailsSection.css (modified) (2 diffs)
-
UserInterface/Views/ObjectPropertiesSection.js (deleted)
-
UserInterface/Views/TypePropertiesSection.js (modified) (1 diff)
-
WebInspectorUI.vcxproj/WebInspectorUI.vcxproj (modified) (1 diff)
-
WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r181722 r181723 1 2015-03-18 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Replace last use of ObjectPropertiesSection with ObjectTreeView 4 https://bugs.webkit.org/show_bug.cgi?id=142834 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Views/DOMNodeDetailsSidebarPanel.js: 9 (WebInspector.DOMNodeDetailsSidebarPanel.prototype._refreshProperties): 10 Use properties only ObjectTreeView instead of ObjectPropertiesSection. 11 This doesn't fix the functionality issues, but fixes the appearance. 12 13 * UserInterface/Views/DetailsSection.css: 14 (.details-section > .content > .group:first-child > .row.simple:first-child > *): Deleted. 15 (body.mac-platform.legacy .details-section > .content > .group:first-child > .row.simple:first-child > *): Deleted. 16 (.details-section > .content > .group > .row.properties:not(.empty)): Deleted. 17 (body.mac-platform.legacy .details-section > .content > .group > .row.properties:not(.empty)): Deleted. 18 Re-add back the small padding at the top of sections. This actually 19 broke padding in a few sections (Event Listeners) at the expense 20 of eliminating a few pixels of whitespace at the top of other sections. 21 We should focus on addressing the extra whitespace separately. 22 23 * UserInterface/Main.html: 24 * UserInterface/Views/ObjectPropertiesSection.js: Removed. 25 * UserInterface/Views/TypePropertiesSection.js: 26 * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: 27 * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters: 28 Remove new unused class. 29 1 30 2015-03-18 Joseph Pecoraro <pecoraro@apple.com> 2 31 -
trunk/Source/WebInspectorUI/UserInterface/Main.html
r181704 r181723 428 428 <script src="Views/NetworkTimelineView.js"></script> 429 429 <script src="Views/ObjectPreviewView.js"></script> 430 <script src="Views/ObjectPropertiesSection.js"></script>431 430 <script src="Views/ObjectTreeArrayIndexTreeElement.js"></script> 432 431 <script src="Views/ObjectTreeMapEntryTreeElement.js"></script> -
trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js
r180594 r181723 204 204 title = title + WebInspector.UIString(" (Prototype)"); 205 205 206 var propertiesSection = new WebInspector.ObjectPropertiesSection(prototype); 206 // FIXME: <https://webkit.org/b/142833> Web Inspector: Node Details Sidebar Properties Section has "undefined" for all prototype properties 207 208 var objectTree = new WebInspector.ObjectTreeView(prototype, WebInspector.ObjectTreeView.Mode.Properties); 209 objectTree.showOnlyProperties(); 207 210 208 211 var detailsSection = new WebInspector.DetailsSection(prototype.description.hash + "-prototype-properties", title, null, null, true); 209 detailsSection.groups[0].rows = [new WebInspector.DetailsSectionPropertiesRow( propertiesSection)];212 detailsSection.groups[0].rows = [new WebInspector.DetailsSectionPropertiesRow(objectTree)]; 210 213 211 214 element.appendChild(detailsSection.element); -
trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.css
r176494 r181723 258 258 } 259 259 260 .details-section > .content > .group:first-child > .row.simple:first-child > * {261 padding: 0px 4px 2px 4px;262 }263 264 body.mac-platform.legacy .details-section > .content > .group:first-child > .row.simple:first-child > * {265 padding: 5px 4px 2px;266 }267 268 260 .details-section > .content > .group > .row.simple > .label { 269 261 color: rgb(51, 51, 51); … … 310 302 311 303 .details-section > .content > .group > .row.properties:not(.empty) { 312 padding: 0 4px 6px 4px;313 }314 315 body.mac-platform.legacy .details-section > .content > .group > .row.properties:not(.empty) {316 304 padding: 4px 6px; 317 305 } -
trunk/Source/WebInspectorUI/UserInterface/Views/TypePropertiesSection.js
r174292 r181723 80 80 }; 81 81 82 // This is mostly identical to Object PropertiesSection.compareProperties.82 // This is mostly identical to ObjectTreeView.compareProperties. 83 83 // But this checks for equality because we can have two objects named the same thing. 84 84 WebInspector.TypePropertiesSection.PropertyComparator = function(propertyA, propertyB) -
trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj
r181704 r181723 717 717 <None Include="..\UserInterface\NetworkTimeline.css" /> 718 718 <None Include="..\UserInterface\Object.js" /> 719 <None Include="..\UserInterface\ObjectPropertiesSection.js" />720 719 <None Include="..\UserInterface\PageObserver.js" /> 721 720 <None Include="..\UserInterface\PathComponentIcons.css" /> -
trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters
r181704 r181723 721 721 <Filter>UserInterface</Filter> 722 722 </None> 723 <None Include="..\UserInterface\ObjectPropertiesSection.js">724 <Filter>UserInterface</Filter>725 </None>726 723 <None Include="..\UserInterface\PageObserver.js"> 727 724 <Filter>UserInterface</Filter>
Note:
See TracChangeset
for help on using the changeset viewer.