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

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: Rebase 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
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
eseidel 2014/04/08 16:51:28 Same problem. :) Structs are how c++ does named a
+ 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) {

Powered by Google App Engine
This is Rietveld 408576698