Index: Source/core/css/parser/SizesAttributeParserTest.cpp |
diff --git a/Source/core/css/parser/SizesAttributeParserTest.cpp b/Source/core/css/parser/SizesAttributeParserTest.cpp |
index 6af36fb8204cdcd45a0461feba70bad6d0d9635d..09352e62a3bd391ec87abed56d5575c819f7a05b 100644 |
--- a/Source/core/css/parser/SizesAttributeParserTest.cpp |
+++ b/Source/core/css/parser/SizesAttributeParserTest.cpp |
@@ -46,6 +46,8 @@ TEST(SizesAttributeParserTest, Basic) |
{"(max-width: 3000px) 200w, 400w", 500}, |
{",, , /**/ ,200px", 200}, |
{"50vw", 250}, |
+ {"5em", 80}, |
+ {"5rem", 80}, |
{"calc(40vw*2)", 400}, |
{"(min-width:5000px) calc(5000px/10), (min-width:500px) calc(1200px/3)", 400}, |
{"(min-width:500px) calc(1200/3)", 500}, |