summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Element.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/Element.h')
-rw-r--r--Libraries/LibWeb/DOM/Element.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOM/Element.h b/Libraries/LibWeb/DOM/Element.h
index e8d0e4faba..cca9f83c6a 100644
--- a/Libraries/LibWeb/DOM/Element.h
+++ b/Libraries/LibWeb/DOM/Element.h
@@ -61,6 +61,7 @@ public:
}
bool has_class(const FlyString&) const;
+ const Vector<FlyString>& class_names() const { return m_classes; }
virtual void apply_presentational_hints(StyleProperties&) const { }
virtual void parse_attribute(const FlyString& name, const String& value);