| Index: Source/core/html/HTMLImageElementTest.cpp
|
| diff --git a/Source/core/html/HTMLImageElementTest.cpp b/Source/core/html/HTMLImageElementTest.cpp
|
| index 442f08c3fddd4ba2b411dc30993bd7a1a1fd1c68..d453af740f54db8bc9ec8d61fc1b94e3dbf747d4 100644
|
| --- a/Source/core/html/HTMLImageElementTest.cpp
|
| +++ b/Source/core/html/HTMLImageElementTest.cpp
|
| @@ -28,7 +28,8 @@ TEST_F(HTMLImageElementTest, width)
|
| {
|
| RefPtrWillBeRawPtr<HTMLImageElement> image = HTMLImageElement::create(m_dummyPageHolder->document(), nullptr, /* createdByParser */ false);
|
| image->setAttribute(HTMLNames::widthAttr, "400");
|
| - EXPECT_EQ(400, image->resourceWidth().width);
|
| + // TODO(yoav): `width` does not impact resourceWidth until we resolve https://github.com/ResponsiveImagesCG/picture-element/issues/268
|
| + EXPECT_EQ(500, image->resourceWidth().width);
|
| image->setAttribute(HTMLNames::sizesAttr, "100vw");
|
| EXPECT_EQ(500, image->resourceWidth().width);
|
| }
|
|
|