Index: third_party/WebKit/LayoutTests/paint/invalidation/document-flipped-blocks-writing-mode-scroll.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/document-flipped-blocks-writing-mode-scroll.html b/third_party/WebKit/LayoutTests/paint/invalidation/document-flipped-blocks-writing-mode-scroll.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9b5ed4940e7342cff00023638ab0c6b03f792e78 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/document-flipped-blocks-writing-mode-scroll.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<!-- Tests that the background for a document in flipped blocks writing mode |
+is painted and invalidated properly when scrolled. Test passes if the document |
+background is painted green throughout the margin surrounding the explicitly |
+sized light blue div. --> |
+<style> |
+html { |
+ background-color: green; |
+ writing-mode: vertical-rl; |
+} |
+</style> |
+<div style="width: 1500px; background: lightBlue;"></div> |
+<script> |
+function repaintTest() { |
+ window.scrollTo(-2000, 0); |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |