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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - 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/flexbox/scrollbars-changed.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed.html b/third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed.html
new file mode 100644
index 0000000000000000000000000000000000000000..6f55a97089fd5cc694cdbc597edbfedbab498d20
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML>
+<script src="../resources/text-based-repaint.js"></script>
+<style>
+body {
+ margin: 0;
+}
+#vbox {
+ display: flex;
+ flex-direction: column;
+ width: 200px;
+ height: 100px;
+}
+#scroller {
+ background-color: gray;
+ flex: 1 1;
+ overflow: auto;
+}
+.content {
+ font: 15px Ahem;
+ line-height: 25px;
+ min-height: 30px;
+}
+</style>
+
+<div id="vbox">
+ <div id="scroller">
+ <div class="content" id="dynamic">a</div>
+ <div class="content">b</div>
+ <div class="content">c</div>
+ <div class="content">d</div>
+ <div class="content">e</div>
+ <div class="content">f</div>
+ <div class="content">g</div>
+ </div>
+</div>
+
+<script>
+function repaintTest() {
+ document.getElementById("dynamic").innerHTML = "z";
+}
+onload = runRepaintTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698