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

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

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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-disconnected.html
diff --git a/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic-disconnected.html b/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic-disconnected.html
new file mode 100644
index 0000000000000000000000000000000000000000..a4f1b9c4513db105f1117b8938b8903c3ed42cc3
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/compositor-proxy-basic-disconnected.html
@@ -0,0 +1,38 @@
+<!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']);
+proxy1.disconnect();
+proxy2.disconnect();
+proxy3.disconnect();
+</script>

Powered by Google App Engine
This is Rietveld 408576698