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

Unified Diff: LayoutTests/compositing/overflow/universal-acceleration/resources/universal-overflow.css

Issue 22620002: Add layout tests for universal overflow scrolling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 7 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/overflow/universal-acceleration/resources/universal-overflow.css
diff --git a/LayoutTests/compositing/overflow/universal-acceleration/resources/universal-overflow.css b/LayoutTests/compositing/overflow/universal-acceleration/resources/universal-overflow.css
new file mode 100644
index 0000000000000000000000000000000000000000..879cebc95dccd89ef63f5893130569cb748f3667
--- /dev/null
+++ b/LayoutTests/compositing/overflow/universal-acceleration/resources/universal-overflow.css
@@ -0,0 +1,59 @@
+body {
+ height: 2000px;
+}
+.positionFixed {
+ position: fixed;
+}
+
+.positionAbsolute {
+ position: absolute;
+}
+
+.overflow {
+ width: 300px;
+ height: 300px;
+ border: 4px solid black;
+ overflow: scroll;
+}
+
+.scrolled {
+ background-color: blue;
+ width: 250px;
+ height: 80px;
+ margin: 5px;
+ position: relative;
+}
+
+.box {
+ position: relative;
+ height: 100px;
+ width: 100px;
+ margin: 10px;
+ background-color: blue;
+}
+
+.onTop {
+ z-index: 2;
+}
+
+pre {
+ position: fixed;
+ top: 400px;
+}
+
+#positioned {
+ background-color: gray;
+ width: 200px;
+ height: 200px;
+ top: 150px;
+ left: 150px;
+}
+
+#sibling {
+ background-color: green;
+ width: 150px;
+ height: 320px;
+ top: 20px;
+ left: 20px;
+ z-index: 1;
+}

Powered by Google App Engine
This is Rietveld 408576698