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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/document-flipped-blocks-writing-mode-scroll.html

Issue 2318033003: Don't un-flip if we're only mapping for one object. (Closed)
Patch Set: Update comment. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698