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

Unified Diff: Source/WebKit/chromium/tests/data/specify_size.html

Issue 19906002: Move data/ directory from WebKit/chromium/tests into web/tests/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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 | « Source/WebKit/chromium/tests/data/short_scroll.html ('k') | Source/WebKit/chromium/tests/data/spell.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/tests/data/specify_size.html
diff --git a/Source/WebKit/chromium/tests/data/specify_size.html b/Source/WebKit/chromium/tests/data/specify_size.html
deleted file mode 100644
index 2041e85db6da96e04f7f0104621dc88008ecb82a..0000000000000000000000000000000000000000
--- a/Source/WebKit/chromium/tests/data/specify_size.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!doctype html>
-<html>
-<body style='margin:0px'>
-<img id='sizer'/>
-<script>
-// The desired size should be specified in the url in the search portion
-// like this ?widthDimension:heightDimension.
-var unitMatch = '([0-9]+[a-zA-Z]+)';
-var searchParser = new RegExp('\\?' + unitMatch + '(?:\\:' + unitMatch + ')');
-var parsedParameters = searchParser.exec(window.location.search);
-
-// Set the sizes.
-var elementToSize = document.getElementById('sizer');
-var width = parsedParameters[1];
-elementToSize.style.width = width;
-var height = parsedParameters[2];
-elementToSize.style.height = height;
-</script>
-</body>
-</html>
« no previous file with comments | « Source/WebKit/chromium/tests/data/short_scroll.html ('k') | Source/WebKit/chromium/tests/data/spell.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698