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