Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 74d3965142bd8e6dea27cf522c36500443f7d29d..5ed1c305068f5a5ebf5148110928f55a036df648 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -467,6 +467,11 @@ const AtomicString& Element::getAttribute(const QualifiedName& name) const |
return nullAtom; |
} |
+bool Element::shouldIgnoreAttributeCase() const |
+{ |
+ return isHTMLElement() && document().isHTMLDocument(); |
+} |
+ |
void Element::scrollIntoView(bool alignToTop) |
{ |
document().updateLayoutIgnorePendingStylesheets(); |