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

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: whoops. 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..abbb12a86cb526b065782ed1205d65595480cadc
--- /dev/null
+++ b/LayoutTests/compositing/animation/hidden-animated-layer-should-not-have-scrollbars-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<style>
+#scroller {
+ width: 100px;
+ height: 100px;
+ overflow: scroll;
+ 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