Changeset 86828 in webkit
- Timestamp:
- May 19, 2011 2:22:47 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86827 r86828 1 2011-05-19 Kenichi Ishibashi <bashi@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [Chromium] IME candidate window appears wrong position in an iframe 6 https://bugs.webkit.org/show_bug.cgi?id=61023 7 8 Added a test which ensures the IME candidate position is located 9 at suitable position. 10 11 * platform/chromium-mac/editing/input/ime-candidate-window-position-expected.txt: Added. 12 * platform/chromium-mac/editing/input/ime-candidate-window-position.html: Added. 13 * platform/chromium-mac/editing/resources/ime-candidate-window-position-iframe.html: Added. 14 1 15 2011-05-19 Emil A Eklund <eae@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/ChangeLog
r86816 r86828 1 2011-05-19 Kenichi Ishibashi <bashi@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [Chromium] IME candidate window appears wrong position in an iframe 6 https://bugs.webkit.org/show_bug.cgi?id=61023 7 8 Always adjusts the range to window relative coordinates. 9 10 * src/WebFrameImpl.cpp: 11 (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition 12 which excludes editable selectionRoot from adjusting. 13 1 14 2011-05-18 Nat Duca <nduca@chromium.org> 2 15 -
trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp
r86813 r86828 1162 1162 IntRect intRect = frame()->editor()->firstRectForRange(range.get()); 1163 1163 rect = WebRect(intRect); 1164 // When inside an text control, don't adjust the range. 1165 if (!selectionRoot) 1166 rect = frame()->view()->contentsToWindow(rect); 1164 rect = frame()->view()->contentsToWindow(rect); 1167 1165 1168 1166 return true; -
trunk/Tools/ChangeLog
r86766 r86828 1 2011-05-19 Kenichi Ishibashi <bashi@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [Chromium] IME candidate window appears wrong position in an iframe 6 https://bugs.webkit.org/show_bug.cgi?id=61023 7 8 Call the focused frame's firstRectForCharacterRange() instead of the 9 main frame so that DRT behaves as the same as Chromium. 10 11 * DumpRenderTree/chromium/TextInputController.cpp: 12 (TextInputController::firstRectForCharacterRange): 13 1 14 2011-05-18 Adam Roben <aroben@apple.com> 2 15 -
trunk/Tools/DumpRenderTree/chromium/TextInputController.cpp
r75000 r86828 182 182 result->setNull(); 183 183 184 WebFrame* mainFrame = getMainFrame();185 if (! mainFrame)184 WebFrame* frame = testShell->webView()->focusedFrame(); 185 if (!frame) 186 186 return; 187 187 … … 190 190 191 191 WebRect rect; 192 if (! mainFrame->firstRectForCharacterRange(arguments[0].toInt32(), arguments[1].toInt32(), rect))192 if (!frame->firstRectForCharacterRange(arguments[0].toInt32(), arguments[1].toInt32(), rect)) 193 193 return; 194 194
Note: See TracChangeset
for help on using the changeset viewer.