From fa5e8be31cb73a33afbfd67b6d1bbb04a18fbc4d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 13 Jun 2020 00:43:32 +0200 Subject: LibWeb: Fix broken Specificity::operator== --- Libraries/LibWeb/CSS/Specificity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Libraries/LibWeb/CSS/Specificity.h') diff --git a/Libraries/LibWeb/CSS/Specificity.h b/Libraries/LibWeb/CSS/Specificity.h index 360a7f852b..30e7b3c7d5 100644 --- a/Libraries/LibWeb/CSS/Specificity.h +++ b/Libraries/LibWeb/CSS/Specificity.h @@ -51,8 +51,8 @@ public: bool operator==(const Specificity& other) const { return m_ids == other.m_ids - || m_classes < other.m_classes - || m_tag_names < other.m_tag_names; + || m_classes == other.m_classes + || m_tag_names == other.m_tag_names; } private: -- cgit v1.2.3