projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
editing
/
selection
/
modify-up-on-rtl-wrapping-text.html
diff --git
a/src/third_party/WebKit/LayoutTests/editing/selection/modify-up-on-rtl-wrapping-text.html
b/src/third_party/WebKit/LayoutTests/editing/selection/modify-up-on-rtl-wrapping-text.html
index
327dbb0
..
36a1a65
100644
(file)
--- a/
src/third_party/WebKit/LayoutTests/editing/selection/modify-up-on-rtl-wrapping-text.html
+++ b/
src/third_party/WebKit/LayoutTests/editing/selection/modify-up-on-rtl-wrapping-text.html
@@
-37,7
+37,7
@@
function runTest(container, test) {
container.style.width = (width + 1) + 'px';
var lines = ['st', 'nd', 'rd', 'th'];
container.style.width = (width + 1) + 'px';
var lines = ['st', 'nd', 'rd', 'th'];
- window.getSelection().
setPosition
(container.lastChild, container.lastChild.length);
+ window.getSelection().
collapse
(container.lastChild, container.lastChild.length);
for (var i = 0; i < test.expected.length; i++) {
if (!window.getSelection().isCollapsed)
for (var i = 0; i < test.expected.length; i++) {
if (!window.getSelection().isCollapsed)