Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index 28554423bed4212612bbfbd4b60c7d6bff88fe56..7952eac8c234e1eed197b28a080fca5ea44c45a8 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -112,7 +112,7 @@ void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicStri |
} |
} |
- setNeedsStyleRecalc(); |
+ setNeedsStyleRecalc(SubtreeStyleChange); |
} else if (name == onloadAttr) |
document().setWindowAttributeEventListener(EventTypeNames::load, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onbeforeunloadAttr) |