Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers.html

Issue 2667363004: Fix the painting of document markers under zoom and variable DPI (Closed)
Patch Set: Rebased Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers-zoom-125.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/spellmarkers/document-markers-zoom-125.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698