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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll-expected.html

Issue 1985933002: Don't clip composited scrolling contain:paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/fast/css/containment/contain-paint-composited-scroll-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll-expected.html b/third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..67385ecc258b31efef4f47f5bd51cfbc7d62a8c7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll-expected.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar { width: 0 }
+</style>
+Tests composited scrolling of contain:paint. Passes if contents are completely painted when scrolled.
+<div id="target" style="overflow-y: auto; width: 150px; height: 150px">
+1<br>
+2<br>
+3<br>
+4<br>
+5<br>
+6<br>
+7<br>
+8<br>
+9<br>
+10<br>
+11<br>
+12<br>
+13<br>
+14<br>
+15<br>
+16<br>
+17<br>
+18<br>
+19<br>
+20<br>
+</div>
+<script>
+target.scrollTop = 100;
+</script>

Powered by Google App Engine
This is Rietveld 408576698