| Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| index 503a775758c2357efb9c415d85aca523cd5a61bf..a1d63ab59c3d66ae7010e7ac142e02f293ea43f4 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| @@ -1249,6 +1249,10 @@ void EditingStyle::removeStyleFromRulesAndContext(Element* element, ContainerNod
|
| if (!m_mutableStyle)
|
| return;
|
|
|
| + // TODO(yosin): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. see http://crbug.com/590369 for more details.
|
| + element->document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(element);
|
| +
|
| // 1. Remove style from matched rules because style remain without repeating it in inline style declaration
|
| MutableStylePropertySet* styleFromMatchedRules = styleFromMatchedRulesForElement(element, StyleResolver::AllButEmptyCSSRules);
|
| if (styleFromMatchedRules && !styleFromMatchedRules->isEmpty())
|
|
|