| Index: sky/engine/core/editing/markup.cpp
|
| diff --git a/sky/engine/core/editing/markup.cpp b/sky/engine/core/editing/markup.cpp
|
| index 478c13ed3d5e9954a9a86b7f7d800a2dbcb5cc0a..7bd63562a37a09ccb34e471b8b90e1c9194489eb 100644
|
| --- a/sky/engine/core/editing/markup.cpp
|
| +++ b/sky/engine/core/editing/markup.cpp
|
| @@ -476,12 +476,6 @@ static String createMarkupInternal(Document& document, const Range* range, const
|
| if (ancestor == fullySelectedRoot && !convertBlocksToInlines) {
|
| RefPtr<EditingStyle> fullySelectedRootStyle = styleFromMatchedRulesAndInlineDecl(fullySelectedRoot);
|
|
|
| - // Bring the background attribute over, but not as an attribute because a background attribute on a div
|
| - // appears to have no effect.
|
| - if ((!fullySelectedRootStyle || !fullySelectedRootStyle->style() || !fullySelectedRootStyle->style()->getPropertyCSSValue(CSSPropertyBackgroundImage))
|
| - && fullySelectedRoot->hasAttribute(HTMLNames::backgroundAttr))
|
| - fullySelectedRootStyle->style()->setProperty(CSSPropertyBackgroundImage, "url('" + fullySelectedRoot->getAttribute(HTMLNames::backgroundAttr) + "')");
|
| -
|
| if (fullySelectedRootStyle->style()) {
|
| // Reset the CSS properties to avoid an assertion error in addStyleMarkup().
|
| // This assertion is caused at least when we select all text of a <body> element whose
|
|
|