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

Unified Diff: LayoutTests/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html

Issue 1297323002: Do not create scrollbars if the subtree is invisible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add layout test. Created 5 years, 4 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/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html
diff --git a/LayoutTests/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html b/LayoutTests/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b9924f5ea1567601bcaac74cf0a6633813de4386
--- /dev/null
+++ b/LayoutTests/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<style>
+#scroller {
+ width: 100px;
+ height: 100px;
+ overflow: scroll;
+ animation: boring 5s infinite;
ajuma 2015/08/19 23:24:59 This line can be removed.
+ visibility: hidden;
+}
+#scrolled {
+ width: 10px;
+ height: 10px;
+ position: relative;
+ background: blue;
+ visibility: hidden;
+ top: 300px;
+}
+</style>
+<div id="scroller">
+ <div id="scrolled"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698