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

Unified Diff: Source/web/tests/data/specify_size.html

Issue 1061153002: Remove WebViewImpl preferred size hack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use Flexbox to avoid whitespace issue Created 5 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
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/specify_size.html
diff --git a/Source/web/tests/data/specify_size.html b/Source/web/tests/data/specify_size.html
index 2041e85db6da96e04f7f0104621dc88008ecb82a..9c4090ac92fefe72de269df59628a95fefc0d01f 100644
--- a/Source/web/tests/data/specify_size.html
+++ b/Source/web/tests/data/specify_size.html
@@ -1,11 +1,11 @@
<!doctype html>
<html>
-<body style='margin:0px'>
+<body style='margin:0px; display: flex;'>
<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 unitMatch = '([0-9.]+[a-zA-Z]+)';
var searchParser = new RegExp('\\?' + unitMatch + '(?:\\:' + unitMatch + ')');
var parsedParameters = searchParser.exec(window.location.search);
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698