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

Unified Diff: LayoutTests/fast/workers/teleport.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/snap-points.html ('k') | Source/bindings/core/core.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/workers/teleport.html
diff --git a/LayoutTests/fast/workers/teleport.html b/LayoutTests/fast/workers/teleport.html
new file mode 100644
index 0000000000000000000000000000000000000000..87b180b7d01cf1a1ff455246e0568932aeefd9e5
--- /dev/null
+++ b/LayoutTests/fast/workers/teleport.html
@@ -0,0 +1,31 @@
+<!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;
+}
+</style>
+<script>
+var worker = null;
+
+onload = function() {
+ worker = new Worker('resources/teleport.js');
+ var spinner = document.getElementById('spinner');
+ worker.postMessage(spinner.bindAnimatedProperty('transform'));
+}
+</script>
+<div id="spinner" class="card">Hello, World!</div>
« no previous file with comments | « LayoutTests/fast/workers/snap-points.html ('k') | Source/bindings/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698