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

Unified Diff: Source/core/css/MediaQueryEvaluatorTest.cpp

Issue 227043007: CSS Length calculation with MediaValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sizes_parser3
Patch Set: Fix debug compile issue Created 6 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/core/css/MediaQueryEvaluator.cpp ('k') | Source/core/css/MediaValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryEvaluatorTest.cpp
diff --git a/Source/core/css/MediaQueryEvaluatorTest.cpp b/Source/core/css/MediaQueryEvaluatorTest.cpp
index 3d0d07d8ef2f84d63cf8e36caf55f3b81d407c61..af5c22abc5970b7ad656c765b3ba9a47fa045570 100644
--- a/Source/core/css/MediaQueryEvaluatorTest.cpp
+++ b/Source/core/css/MediaQueryEvaluatorTest.cpp
@@ -78,11 +78,16 @@ TEST(MediaQueryEvaluatorTest, Basic)
0, // Monochrome bits per component
MediaValues::MousePointer, // Pointer device
16, // Default font size
+ 16, // Computed font size
+ false, // Has X height?
+ 16, // Font x Height
+ 16, // Font zero width
true, // 3D enabled
false, // scan media type
true, // screen media type
false, // print media type
- true // Strict mode
+ true, // Strict mode
+ 1.0 // effective zoom
);
for (unsigned i = 0; screenTestCases[i].input; ++i) {
« no previous file with comments | « Source/core/css/MediaQueryEvaluator.cpp ('k') | Source/core/css/MediaValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698