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

Unified Diff: third_party/WebKit/Source/web/tests/data/compositor-proxy-basic.html

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error. Created 5 years 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/Source/web/tests/data/compositor-proxy-basic.html
diff --git a/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic.html b/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic.html
new file mode 100644
index 0000000000000000000000000000000000000000..e3d7e23d728f2991004f289f7c243463267e7899
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic.html
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML>
+<style>
+#proxied {
+ width: 50px;
+ height: 50px;
+ background: papayawhip;
+}
+#proxied-scroller {
+ width: 100px;
+ height: 100px;
+ overflow: scroll;
+ border: 1px solid black;
+}
+#scrolled {
+ width: 50px;
+ height: 1000px;
+ background: papayawhip;
+}
+#tall {
+ width: 50px;
+ height: 2000px;
+ background: papayawhip;
+}
+
+</style>
+<div id="proxied"></div>
+<div id="proxied-scroller">
+ <div id="scrolled"></div>
+</div>
+<div id="tall"></div>
+<script>
+var proxy1 = new CompositorProxy(document.getElementById('proxied'), ['transform']);
+var proxy2 = new CompositorProxy(document.getElementById('proxied-scroller'), ['scrollLeft', 'scrollTop']);
+var proxy3 = new CompositorProxy(document.scrollingElement, ['scrollLeft', 'scrollTop']);
+</script>

Powered by Google App Engine
This is Rietveld 408576698