| Index: third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameSerializer.cpp b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| index 48a9bf483b0d5be9a41b0085197a2c21c7dbd837..0e7ba3e74d18359ca4fd00cbccebd308dc280297 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| @@ -96,9 +96,10 @@ MHTMLFrameSerializerDelegate::MHTMLFrameSerializerDelegate(
|
|
|
| bool MHTMLFrameSerializerDelegate::shouldIgnoreAttribute(
|
| const Attribute& attribute) {
|
| - // TODO(fgorski): Presence of srcset attribute causes MHTML to not display images, as only the value of src
|
| - // is pulled into the archive. Discarding srcset prevents the problem. Long term we should make sure to MHTML
|
| - // plays nicely with srcset.
|
| + // TODO(fgorski): Presence of srcset attribute causes MHTML to not display
|
| + // images, as only the value of src is pulled into the archive. Discarding
|
| + // srcset prevents the problem. Long term we should make sure to MHTML plays
|
| + // nicely with srcset.
|
| return attribute.localName() == HTMLNames::srcsetAttr;
|
| }
|
|
|
|
|