| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index faa67452d89fa1c5d8a842ee47e88457b2e113db..373ee4e614f1057dc50cb5e1fedbc630fef8964f 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1640,14 +1640,6 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
|
| }
|
| }
|
|
|
| - // If "rem" units are used anywhere in the document, and if the document element's font size changes, then go ahead and force font updating
|
| - // all the way down the tree. This is simpler than having to maintain a cache of objects (and such font size changes should be rare anyway).
|
| - if (document().styleEngine()->usesRemUnits() && document().documentElement() == this && oldStyle->fontSize() != newStyle->fontSize()) {
|
| - // Cached RenderStyles may depend on the re units.
|
| - document().ensureStyleResolver().invalidateMatchedPropertiesCache();
|
| - return Force;
|
| - }
|
| -
|
| if (styleChangeType() >= SubtreeStyleChange)
|
| return Force;
|
|
|
|
|