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

Unified Diff: LayoutTests/fast/workers/bubble.html

Issue 474683003: Not for review - Rebase of crrev.com/62833003 Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 2 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
« no previous file with comments | « LayoutTests/fast/workers/BUG.html ('k') | LayoutTests/fast/workers/bubble2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/workers/bubble.html
diff --git a/LayoutTests/fast/workers/bubble.html b/LayoutTests/fast/workers/bubble.html
new file mode 100644
index 0000000000000000000000000000000000000000..b281b790a0e9628b097aec9e6e96ddf7d86ebbfe
--- /dev/null
+++ b/LayoutTests/fast/workers/bubble.html
@@ -0,0 +1,117 @@
+<!DOCTYPE HTML>
+<link href='http://fonts.googleapis.com/css?family=IM+Fell+Great+Primer+SC' rel='stylesheet' type='text/css'>
+<style>
+
+.card {
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ width: 200px;
+ height: 200px;
+ background: #736F68;
+ color: #D9CCC5;
+ padding: 20px;
+ font-family: 'IM Fell Great Primer SC', serif;
+ font-size: 3em;
+ border-radius: 5px;
+ -webkit-transform: translateZ(0);
+}
+
+body {
+ background: #212126;
+}
+
+#raf {
+ position: absolute;
+ left: 700px;
+ top: 10px;
+ background: #826B54;
+}
+
+.scroller {
+ top: 500px;
+ width: 500px;
+ height: 700px;
+ border: 2px solid black;
+ overflow-y: scroll;
+ background: #736F68;
+}
+
+.bubbler {
+ position: absolute;
+ z-index: 0;
+ width: 700px;
+ height: 1000px;
+ border: 2px solid black;
+ overflow: scroll;
+ background: #235274;
+}
+
+.spacer {
+ width: 5000px;
+ height: 1000px;
+ position: absolute;
+ top: 2000px;
+}
+
+.scrolled {
+ width: 2000px;
+ height: 9000px;
+ color: #D9CCC5;
+ padding: 20px;
+ font-family: 'IM Fell Great Primer SC', serif;
+ font-size: 3em;
+}
+
+</style>
+<script>
+var worker = null;
+
+//onload = function() {
+// // Set up worker rAF animation.
+// worker = new UIWorker('resources/bubble.js');
+// var scroller = document.getElementById('scroller');
+// var img = document.getElementById('img');
+// worker.postMessage([
+// scroller.bindAnimatedProperty('scrollTop'),
+// scroller.bindAnimatedProperty('pendingScrollDelta'),
+// img.bindAnimatedProperty('transform')
+// ]);
+//}
+
+</script>
+<div id="bubbler" class="bubbler">
+ <div id="scroller" class="scroller" z-index="0" style="position: absolute">
+ <div id="scrolled" class="scrolled">
+ <img id="img" src='http://wvs.topleftpixel.com/photos/scotia_plaza_tall_stitched.jpg' z-index="-1" style="position: absolute; transform: translateY(0)"/>
+ <div style="position: absolute">
+ This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!
+ <p />This<p />stuff<p />is<p />totally<p />scrolled!</div>
+ </div>
+ </div>
+ <div id="spacer" class="spacer"></div>
+</div>
« no previous file with comments | « LayoutTests/fast/workers/BUG.html ('k') | LayoutTests/fast/workers/bubble2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698