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

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

Powered by Google App Engine
This is Rietveld 408576698