Changeset 99557 in webkit
- Timestamp:
- Nov 8, 2011, 5:34:38 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99556 r99557 1 2011-11-08 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: Do not hide SuggestBox if typed-in string in the middle of input equals one of suggestions 4 https://bugs.webkit.org/show_bug.cgi?id=71797 5 6 Reviewed by Yury Semikhatsky. 7 8 * inspector/front-end/TextPrompt.js: 9 (WebInspector.TextPrompt.prototype.onKeyDown): 10 (WebInspector.TextPrompt.prototype.complete): 11 1 12 2011-11-08 Andreas Kling <kling@webkit.org> 2 13 -
trunk/Source/WebCore/inspector/front-end/TextPrompt.js
r99459 r99557 229 229 case "Right": 230 230 case "End": 231 if (this.isSuggestBoxVisible() )231 if (this.isSuggestBoxVisible() && this.isCaretAtEndOfPrompt()) 232 232 handled = this._suggestBox.tabKeyPressed(event); 233 233 else { … … 360 360 if (!auto && !isEmptyInput && !selectionRange.commonAncestorContainer.isDescendant(this._element)) 361 361 shouldExit = true; 362 if (auto && !this.isCaretAtEndOfPrompt() && ! force)362 if (auto && !this.isCaretAtEndOfPrompt() && !this._suggestBox && !force) 363 363 shouldExit = true; 364 364 if (shouldExit) {
Note:
See TracChangeset
for help on using the changeset viewer.