| Index: third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers.html b/third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a10370fcdae4cb780c0218212217e75d04a1383
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.setMockSpellCheckerEnabled(true);
|
| +}
|
| +
|
| +function runTest() {
|
| + editable = document.getElementById("editable");
|
| + selection = document.getSelection();
|
| + selection.addRange(new Range);
|
| + range = selection.getRangeAt(0);
|
| + range.selectNodeContents(editable);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest();">
|
| + <div id="editable" contenteditable="true">wellcome should be marked</div>
|
| +</body>
|
| +</html>
|
|
|