Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index 9c4e37d8bdcf50766d59af5f985b097b3d3d50c8..e055fd21cffbbc24b6390f1caf654fa86394b08e 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -149,6 +149,8 @@ void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicStri |
document().setWindowAttributeEventListener(EventTypeNames::online, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onofflineAttr) |
document().setWindowAttributeEventListener(EventTypeNames::offline, createAttributeEventListener(document().frame(), name, value)); |
+ else if (name == onlanguagechangeAttr) |
+ document().setWindowAttributeEventListener(EventTypeNames::languagechange, createAttributeEventListener(document().frame(), name, value)); |
else |
HTMLElement::parseAttribute(name, value); |
} |