Index: LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks.html |
diff --git a/LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks.html b/LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4a5de2b414be9f29a97be922ca462018a40bc004 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/selection-partial-invalidation-between-blocks.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<table width="100%"> |
+ <tr> |
+ <td id="firstCell">First cell</td> |
+ </tr> |
+ <tr> |
+ <td id="secondCell">Second cell</td> |
+ </tr> |
+</table> |
+<script src="../../resources/run-after-display.js" type="text/javascript"></script> |
+<script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+<script> |
+window.testIsAsync = true; |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+ |
+document.execCommand("selectAll"); |
+ |
+function repaintTest() { |
+ var selection = window.getSelection(); |
+ var firstCell = document.getElementById("firstCell"); |
+ selection.setBaseAndExtent(firstCell, 0, firstCell, 1); |
+ finishRepaintTest(); |
+} |
+runAfterDisplay(runRepaintTest); |
+</script> |