Changeset 101000 in webkit


Ignore:
Timestamp:
Nov 22, 2011, 6:43:00 AM (14 years ago)
Author:
apavlov@chromium.org
Message:

Web Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection in place
https://bugs.webkit.org/show_bug.cgi?id=72951

Reviewed by Pavel Feldman.

  • inspector/front-end/TextPrompt.js:

(WebInspector.TextPrompt.prototype.complete):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r100999 r101000  
     12011-11-22  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Web Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection in place
     4        https://bugs.webkit.org/show_bug.cgi?id=72951
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/TextPrompt.js:
     9        (WebInspector.TextPrompt.prototype.complete):
     10
    1112011-11-22  Pavel Feldman  <pfeldman@google.com>
    212
  • trunk/Source/WebCore/inspector/front-end/TextPrompt.js

    r100981 r101000  
    351351        else if (auto && !this._suggestBox && !force && !this.isCaretAtEndOfPrompt())
    352352            shouldExit = true;
     353        else if (!selection.isCollapsed)
     354            shouldExit = true;
    353355        else if (!force) {
    354356            // BUG72018: Do not show suggest box if caret is followed by a non-stop character.
Note: See TracChangeset for help on using the changeset viewer.