Changeset 70786 in webkit
- Timestamp:
- Oct 28, 2010 10:10:19 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r70785 r70786 1 2010-10-28 Tony Chang <tony@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [chromium] fix textInputController.{selectedRange,markedRange} 6 https://bugs.webkit.org/show_bug.cgi?id=48487 7 8 * platform/chromium/test_expectations.txt: correct some comments about 9 firstRectForCharacterRange. 10 1 11 2010-10-28 Dan Bernstein <mitz@apple.com> 2 12 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r70783 r70786 656 656 BUG10435 MAC : editing/selection/designmode-no-caret.html = FAIL 657 657 658 // Issue 3273: TextInputController::firstRectForCharacterRange not implemented. 658 // Issue 3273: TextInputController::firstRectForCharacterRange not returning 659 // the correct values for bidi/rtl text. 659 660 BUG3273 : editing/selection/move-left-right.html = FAIL 660 661 BUG3273 MAC : platform/mac/editing/input/caret-primary-bidi.html = FAIL PASS … … 662 663 BUG3273 MAC : platform/mac/editing/input/range-for-empty-document.html = FAIL PASS 663 664 BUGWK38100 : editing/inserting/caret-position.html = TEXT PASS 665 // These tests also use firstRectForCharacterRange, but they generate slightly 666 // different values. 667 BUG3273 : editing/selection/5825350-1.html = TEXT 668 BUG3273 : editing/selection/5825350-2.html = TEXT 669 BUG3273 : editing/selection/mixed-editability-10.html = TEXT 664 670 665 671 // WebKit 50358:50395 666 672 BUG3273 WIN LINUX : fast/text/international/thai-cursor-position.html = TEXT 667 // WebKit roll 51512:51524668 BUG3273 : editing/selection/5825350-1.html = FAIL669 BUG3273 : editing/selection/5825350-2.html = FAIL670 BUG3273 : editing/selection/mixed-editability-10.html = FAIL671 673 672 674 // Linux pixeltest failure: caret is in the wrong place -
trunk/WebKitTools/ChangeLog
r70782 r70786 1 2010-10-28 Tony Chang <tony@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [chromium] fix textInputController.{selectedRange,markedRange} 6 https://bugs.webkit.org/show_bug.cgi?id=48487 7 8 * DumpRenderTree/chromium/TextInputController.cpp: 9 (TextInputController::markedRange): Return arrays of ints, rather than a string 10 (TextInputController::selectedRange): Ditto. 11 1 12 2010-10-27 Ojan Vafai <ojan@chromium.org> 2 13 -
trunk/WebKitTools/DumpRenderTree/chromium/TextInputController.cpp
r70555 r70786 44 44 45 45 using namespace WebKit; 46 using namespace std;47 46 48 47 TestShell* TextInputController::testShell = 0; … … 171 170 172 171 WebRange range = mainFrame->markedRange(); 173 char buffer[30]; 174 snprintf(buffer, 30, "%d,%d", range.startOffset(), range.endOffset()); 175 result->set(string(buffer)); 172 Vector<int> intArray(2); 173 intArray[0] = range.startOffset(); 174 intArray[1] = range.endOffset(); 175 result->set(WebBindings::makeIntArray(intArray)); 176 176 } 177 177 … … 185 185 186 186 WebRange range = mainFrame->selectionRange(); 187 char buffer[30]; 188 snprintf(buffer, 30, "%d,%d", range.startOffset(), range.endOffset()); 189 result->set(string(buffer)); 187 Vector<int> intArray(2); 188 intArray[0] = range.startOffset(); 189 intArray[1] = range.endOffset(); 190 result->set(WebBindings::makeIntArray(intArray)); 190 191 } 191 192
Note: See TracChangeset
for help on using the changeset viewer.