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

Side by Side Diff: LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks.html

Issue 659983002: Block selection gaps are not invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a TestExpectation for the new test. Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <table width="100%">
3 <tr>
4 <td id="firstCell">First cell</td>
5 </tr>
6 <tr>
7 <td id="secondCell">Second cell</td>
8 </tr>
9 </table>
10 <script src="../../resources/run-after-display.js" type="text/javascript"></scri pt>
11 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
12 <script>
13 window.testIsAsync = true;
14 if (window.testRunner)
15 testRunner.waitUntilDone();
16
17 document.execCommand("selectAll");
18
19 function repaintTest() {
20 var selection = window.getSelection();
21 var firstCell = document.getElementById("firstCell");
22 selection.setBaseAndExtent(firstCell, 0, firstCell, 1);
23 finishRepaintTest();
24 }
25 runAfterDisplay(runRepaintTest);
26 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698