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

Unified Diff: LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html

Issue 933043005: [New Multicolumn] Handle flow thread overflow correctly in flipped writing modes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
diff --git a/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html b/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
new file mode 100644
index 0000000000000000000000000000000000000000..7b5dfb2fd4193f06316fb9e84cb187a3dbca57e5
--- /dev/null
+++ b/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ if (window.internals) {
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ onload = runRepaintTest;
+ } else {
+ onclick = repaintTest;
+ }
+ function repaintTest() {
+ document.getElementById('elm').style.background = 'green';
+ }
+</script>
+<div id="container" style="overflow:-webkit-paged-x; -webkit-column-gap:0; width:500px; height:500px; -webkit-writing-mode:vertical-rl;">
+ <div style="width:100px;">
+ <div id="elm" style="width:1000px; background:yellow;"></div>
+ </div>
+</div>
+<script>
+ document.getElementById("container").scrollLeft = 0;
+</script>
+<p>Test changing the background color of a big block that overflows the flow thread.</p>
+<p>A green square with a horizontal scrollbar should be seen above (if tested manually, you need to click first).</p>

Powered by Google App Engine
This is Rietveld 408576698