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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/caret-contenteditable-content-after.html

Issue 2565103002: Fix mismatched nullptr check for caret paint invalidation. (Closed)
Patch Set: Sync to head and add test baselines. Created 4 years 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 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 editor.focus();
6 if (!window.eventSender)
7 return;
8 eventSender.keyDown('a');
9 eventSender.keyDown('b');
10 eventSender.keyDown('c');
11 }
12 onload = runRepaintAndPixelTest;
13 </script>
14 <style>
15 #editor:after {
16 content:"x";
17 }
18 </style>
19 Test passes if caret is visible after the 'c' but before the 'x'.<br>
20 To reproduce manually, type 'abc'.
21 <div id="editor" contenteditable="true"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/caret-contenteditable-content-after-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698