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
/
deleting
/
delete-inline-br.html
diff --git
a/src/third_party/WebKit/LayoutTests/editing/deleting/delete-inline-br.html
b/src/third_party/WebKit/LayoutTests/editing/deleting/delete-inline-br.html
index
3404a38
..
9588417
100644
(file)
--- a/
src/third_party/WebKit/LayoutTests/editing/deleting/delete-inline-br.html
+++ b/
src/third_party/WebKit/LayoutTests/editing/deleting/delete-inline-br.html
@@
-20,15
+20,15
@@
function absoluteCaretBounds(node) {
}
var selection = window.getSelection();
}
var selection = window.getSelection();
-selection.collapse(('sample'), 2);
+selection.collapse(
$
('sample'), 2);
var expectedCaretRect = absoluteCaretBounds(document);
var expectedCaretRect = absoluteCaretBounds(document);
-selection.collapse(('sample'), 3);
-document.execCommand(
"Delete"
);
+selection.collapse(
$
('sample'), 3);
+document.execCommand(
'Delete'
);
var caretRect = absoluteCaretBounds(document);
var caretRect = absoluteCaretBounds(document);
-shouldBe(
"caretRect.left", "expectedCaretRect.left"
);
-shouldBe(
"caretRect.top", "expectedCaretRect.top"
);
+shouldBe(
'caretRect.left', 'expectedCaretRect.left'
);
+shouldBe(
'caretRect.top', 'expectedCaretRect.top'
);
if (window.testRunner)
$('container').outerHTML = '';
if (window.testRunner)
$('container').outerHTML = '';