Changeset 194150 in webkit
- Timestamp:
- Dec 16, 2015 9:42:11 AM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r194149 r194150 1 2015-12-16 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Improve copy of console message containing Array and Map output 4 https://bugs.webkit.org/show_bug.cgi?id=152329 5 6 Reviewed by Timothy Hatcher. 7 8 Introduce a real space in the content instead of style specific 9 margins so the existing copy/paste mechanism (innerText) 10 will have spaces between index/key and value. 11 12 * UserInterface/Views/ObjectTreeArrayIndexTreeElement.css: 13 (.object-tree-array-index .index-name): Deleted. 14 * UserInterface/Views/ObjectTreeArrayIndexTreeElement.js: 15 (WebInspector.ObjectTreeArrayIndexTreeElement.prototype._titleFragment): 16 (WebInspector.ObjectTreeArrayIndexTreeElement): 17 * UserInterface/Views/ObjectTreeMapEntryTreeElement.css: 18 (.object-tree-array-index.object-tree-map-entry > .titles > .title > .index-name): Deleted. 19 * UserInterface/Views/ObjectTreeMapEntryTreeElement.js: 20 (WebInspector.ObjectTreeMapEntryTreeElement.prototype.titleFragment): 21 (WebInspector.ObjectTreeMapEntryTreeElement): 22 * UserInterface/Views/ObjectTreeSetIndexTreeElement.js: 23 (WebInspector.ObjectTreeSetIndexTreeElement.prototype._titleFragment): 24 (WebInspector.ObjectTreeSetIndexTreeElement): 25 1 26 2015-12-16 Joseph Pecoraro <pecoraro@apple.com> 2 27 -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css
r191399 r194150 47 47 display: inline-block; 48 48 width: 30px; 49 margin-right: 7px;50 49 text-align: right; 51 50 } -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.js
r182099 r194150 61 61 nameElement.title = this.propertyPathString(this.thisPropertyPath()); 62 62 63 // Space. For copy/paste to have space between the index and value. 64 container.append(" "); 65 63 66 // Value. 64 67 var valueElement = container.appendChild(document.createElement("span")); -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeMapEntryTreeElement.css
r182796 r194150 27 27 width: 40px; 28 28 text-align: right; 29 margin-right: 5px;30 29 } 31 30 -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeMapEntryTreeElement.js
r182616 r194150 70 70 nameElement.title = this.propertyPathString(propertyPath); 71 71 72 // Space. For copy/paste to have space between the key and value. 73 container.append(" "); 74 72 75 // Value. 73 76 var valueElement = container.appendChild(document.createElement("span")); -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeSetIndexTreeElement.js
r182042 r194150 72 72 nameElement.title = WebInspector.UIString("Unable to determine path to property from root"); 73 73 74 // Space. For copy/paste to have space between the bullet and value. 75 container.append(" "); 76 74 77 // Value. 75 78 var valueElement = container.appendChild(document.createElement("span"));
Note: See TracChangeset
for help on using the changeset viewer.