RESOLVED FIXED 72022
Web Inspector: [SuggestBox] Correctly position the box under the first character of the suggestion prefix.
https://bugs.webkit.org/show_bug.cgi?id=72022
Summary Web Inspector: [SuggestBox] Correctly position the box under the first charac...
Alexander Pavlov (apavlov)
Reported 2011-11-10 06:27:31 PST
Patch to follow
Attachments
Patch (7.17 KB, patch)
2011-11-10 08:15 PST, Alexander Pavlov (apavlov)
no flags
Patch (10.32 KB, patch)
2011-11-10 08:59 PST, Alexander Pavlov (apavlov)
pfeldman: review+
Alexander Pavlov (apavlov)
Comment 1 2011-11-10 08:15:39 PST
Pavel Feldman
Comment 2 2011-11-10 08:20:18 PST
Comment on attachment 114506 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114506&action=review > Source/WebCore/inspector/front-end/TextPrompt.js:869 > + * @param {*=} anchorBox This is not nice. > Source/WebCore/inspector/front-end/TextPrompt.js:884 > + anchorBox = this._anchorBox || this._inputElement.boxInWindow(window, this._parentElement); This is a strange control flow: if given, use, otherwise check if it has been used, otherwise do something.
Alexander Pavlov (apavlov)
Comment 3 2011-11-10 08:59:01 PST
Pavel Feldman
Comment 4 2011-11-10 09:02:55 PST
Comment on attachment 114514 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114514&action=review > Source/WebCore/inspector/front-end/TextPrompt.js:383 > + var anchorElement = textRange.startContainer.ownerDocument.createElement("span"); document.createElement
Alexander Pavlov (apavlov)
Comment 5 2011-11-10 09:07:19 PST
Note You need to log in before you can comment on or make changes to this bug.