Changeset 74397 in webkit
- Timestamp:
- Dec 20, 2010 11:11:50 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r74390 r74397 1 2010-12-20 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Joseph Pecoraro. 4 5 Web Inspector: cycle through tag name / attributes / new attribute on Tab. 6 7 https://bugs.webkit.org/show_bug.cgi?id=38429 8 9 * inspector/front-end/ElementsTreeOutline.js: 10 (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted.moveToNextAttributeIfNeeded): 11 1 12 2010-12-20 Yuta Kitamura <yutak@chromium.org> 2 13 -
trunk/WebCore/inspector/front-end/ElementsTreeOutline.js
r73913 r74397 1034 1034 if (moveDirection === "backward" && attributes.length > 0) 1035 1035 moveToAttribute = attributes[attributes.length - 1].name; 1036 else if (moveDirection === "forward" && !/^\s*$/.test(newText)) 1037 moveToNewAttribute = true; 1036 else if (moveDirection === "forward") { 1037 if (!/^\s*$/.test(newText)) 1038 moveToNewAttribute = true; 1039 else 1040 moveToTagName = true; 1041 } 1038 1042 } 1039 1043 } … … 1113 1117 function moveToNextAttributeIfNeeded() 1114 1118 { 1115 if (moveDirection !== "forward") 1119 if (moveDirection !== "forward") { 1120 this._addNewAttribute(); 1116 1121 return; 1122 } 1117 1123 1118 1124 var attributes = this.representedObject.attributes;
Note: See TracChangeset
for help on using the changeset viewer.