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

Unified Diff: chrome/test/data/third_party/spaceport/js/sprites/container.js

Issue 10134041: Add test data for spaceport benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: chrome/test/data/third_party/spaceport/js/sprites/container.js
diff --git a/chrome/test/data/third_party/spaceport/js/sprites/container.js b/chrome/test/data/third_party/spaceport/js/sprites/container.js
new file mode 100644
index 0000000000000000000000000000000000000000..7291ff8694aa213ffd791ebd99fc51bfd8345e1e
--- /dev/null
+++ b/chrome/test/data/third_party/spaceport/js/sprites/container.js
@@ -0,0 +1,15 @@
+define([ ], function () {
+ function container() {
+ var el = document.createElement('div');
+ el.style.overflow = 'hidden';
+ el.style.position = 'absolute';
+ el.style.left = '0';
+ el.style.top = '0';
+ el.style.width = '512px';
+ el.style.height = '512px';
+ el.style.background = '#FFFFFF';
+ return el;
+ }
+
+ return container;
+});

Powered by Google App Engine
This is Rietveld 408576698