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

Side by Side 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: New baselines 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.setMockSpellCheckerEnabled(true);
7 }
8
9 function runTest() {
10 editable = document.getElementById("editable");
11 selection = document.getSelection();
12 selection.addRange(new Range);
13 range = selection.getRangeAt(0);
14 range.selectNodeContents(editable);
15 }
16 </script>
17 </head>
18 <body onload="runTest();">
19 <div id="editable" contenteditable="true">wellcome should be marked</div>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698