| Index: Source/core/page/PageSerializer.cpp
|
| diff --git a/Source/core/page/PageSerializer.cpp b/Source/core/page/PageSerializer.cpp
|
| index 8e863ddf5bb8a455b83ccb28edf2563538d96404..6f26b42564efa38e3be47e401e68365d564c4383 100644
|
| --- a/Source/core/page/PageSerializer.cpp
|
| +++ b/Source/core/page/PageSerializer.cpp
|
| @@ -249,8 +249,10 @@ void PageSerializer::serializeFrame(LocalFrame* frame)
|
|
|
| Element& element = toElement(*node);
|
| // We have to process in-line style as it might contain some resources (typically background images).
|
| - if (element.isStyledElement())
|
| + if (element.isStyledElement()) {
|
| retrieveResourcesForProperties(element.inlineStyle(), document);
|
| + retrieveResourcesForProperties(element.presentationAttributeStyle(), document);
|
| + }
|
|
|
| if (isHTMLImageElement(element)) {
|
| HTMLImageElement& imageElement = toHTMLImageElement(element);
|
|
|