Index: Source/core/css/parser/SizesAttributeParserTest.cpp |
diff --git a/Source/core/css/parser/SizesAttributeParserTest.cpp b/Source/core/css/parser/SizesAttributeParserTest.cpp |
index 834e1303d90c3240f97910694f1b75ae36ec40c9..5feadb5c17556c57f2218e7de74c3d6c0d86c817 100644 |
--- a/Source/core/css/parser/SizesAttributeParserTest.cpp |
+++ b/Source/core/css/parser/SizesAttributeParserTest.cpp |
@@ -14,7 +14,7 @@ namespace blink { |
typedef struct { |
const char* input; |
- const unsigned effectiveSize; |
+ const float effectiveSize; |
const bool viewportDependant; |
} TestCase; |
@@ -68,6 +68,7 @@ TEST(SizesAttributeParserTest, Basic) |
{"{{},1px", 500, true}, |
{"[[],1px", 500, true}, |
{"x(x(),1px", 500, true}, |
+ {"(max-width: 3000px) 50.5px, 40vw", 50.5, false}, |
{0, 0, false} // Do not remove the terminator line. |
}; |