Index: Source/core/html/parser/HTMLSrcsetParserTest.cpp |
diff --git a/Source/core/html/parser/HTMLSrcsetParserTest.cpp b/Source/core/html/parser/HTMLSrcsetParserTest.cpp |
index 01d549b0000b18ed18bb82a66cf2b2da3e638f8f..33f52822888caf443297cc69473791dc7ab7eb28 100644 |
--- a/Source/core/html/parser/HTMLSrcsetParserTest.cpp |
+++ b/Source/core/html/parser/HTMLSrcsetParserTest.cpp |
@@ -12,7 +12,7 @@ namespace blink { |
typedef struct { |
float deviceScaleFactor; |
- int effectiveSize; |
+ float effectiveSize; |
const char* srcInput; |
const char* srcsetInput; |
const char* outputURL; |
@@ -32,6 +32,8 @@ TEST(ImageCandidateTest, Basic) |
TEST(HTMLSrcsetParserTest, Basic) |
{ |
TestCase testCases[] = { |
+ {2.0, 0.5, "", "data:,a 1w, data:,b 2x", "data:,a", 2.0, 1}, |
+ {2.0, 1, "", "data:,a 2w, data:,b 2x", "data:,a", 2.0, 2}, |
{2.0, -1, "", "1x.gif 1x, 2x.gif 2x", "2x.gif", 2.0, -1}, |
{2.0, -1, "", "1x.gif 1q, 2x.gif 2x", "2x.gif", 2.0, -1}, |
{1.0, -1, "", "1x.gif 1q, 2x.gif 2x", "1x.gif", 1.0, -1}, |