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

Unified Diff: Source/web/tests/data/viewport-nonzero-values.html

Issue 23754026: Properly check for a zero-valued floating-point viewport argument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test page Created 7 years, 3 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/WebFrameTest.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/viewport-nonzero-values.html
diff --git a/Source/web/tests/data/viewport-nonzero-values.html b/Source/web/tests/data/viewport-nonzero-values.html
new file mode 100644
index 0000000000000000000000000000000000000000..f4e0d4fe01b8a427c8599924658171a75fa6344a
--- /dev/null
+++ b/Source/web/tests/data/viewport-nonzero-values.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta name='viewport' content='width=0.1, height=0.01, initial-scale=0.5, minimum-scale=0.0001, maximum-scale=0.999' />
+ </head>
+ <body>
+ A page with the viewport attribute values not set to 0.
+ </body>
+</html>
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698