| 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>
|
|
|