summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Angle.h5
-rw-r--r--Userland/Libraries/LibWeb/CSS/Display.h2
-rw-r--r--Userland/Libraries/LibWeb/CSS/Frequency.h5
-rw-r--r--Userland/Libraries/LibWeb/CSS/Length.h4
-rw-r--r--Userland/Libraries/LibWeb/CSS/Percentage.h2
-rw-r--r--Userland/Libraries/LibWeb/CSS/Resolution.h5
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleProperties.h1
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValue.h1
-rw-r--r--Userland/Libraries/LibWeb/CSS/Time.h5
9 files changed, 0 insertions, 30 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Angle.h b/Userland/Libraries/LibWeb/CSS/Angle.h
index 4124df0bca..26c3be3eaf 100644
--- a/Userland/Libraries/LibWeb/CSS/Angle.h
+++ b/Userland/Libraries/LibWeb/CSS/Angle.h
@@ -43,11 +43,6 @@ public:
return m_type == other.m_type && m_value == other.m_value;
}
- bool operator!=(Angle const& other) const
- {
- return !(*this == other);
- }
-
private:
StringView unit_name() const;
diff --git a/Userland/Libraries/LibWeb/CSS/Display.h b/Userland/Libraries/LibWeb/CSS/Display.h
index ba57ecaffe..569d1aa09a 100644
--- a/Userland/Libraries/LibWeb/CSS/Display.h
+++ b/Userland/Libraries/LibWeb/CSS/Display.h
@@ -35,8 +35,6 @@ public:
VERIFY_NOT_REACHED();
}
- bool operator!=(Display const& other) const { return !(*this == other); }
-
enum class Outside {
Block,
Inline,
diff --git a/Userland/Libraries/LibWeb/CSS/Frequency.h b/Userland/Libraries/LibWeb/CSS/Frequency.h
index 741f16497b..e2f622c398 100644
--- a/Userland/Libraries/LibWeb/CSS/Frequency.h
+++ b/Userland/Libraries/LibWeb/CSS/Frequency.h
@@ -40,11 +40,6 @@ public:
return m_type == other.m_type && m_value == other.m_value;
}
- bool operator!=(Frequency const& other) const
- {
- return !(*this == other);
- }
-
private:
StringView unit_name() const;
diff --git a/Userland/Libraries/LibWeb/CSS/Length.h b/Userland/Libraries/LibWeb/CSS/Length.h
index 8daf331b2b..2ac514e433 100644
--- a/Userland/Libraries/LibWeb/CSS/Length.h
+++ b/Userland/Libraries/LibWeb/CSS/Length.h
@@ -121,10 +121,6 @@ public:
// We have a RefPtr<CalculatedStyleValue> member, but can't include the header StyleValue.h as it includes
// this file already. To break the cyclic dependency, we must move all method definitions out.
bool operator==(Length const& other) const;
- bool operator!=(Length const& other) const
- {
- return !(*this == other);
- }
float relative_length_to_px(Gfx::IntRect const& viewport_rect, Gfx::FontPixelMetrics const& font_metrics, float font_size, float root_font_size) const;
diff --git a/Userland/Libraries/LibWeb/CSS/Percentage.h b/Userland/Libraries/LibWeb/CSS/Percentage.h
index 3a686f0ee5..af894c76ee 100644
--- a/Userland/Libraries/LibWeb/CSS/Percentage.h
+++ b/Userland/Libraries/LibWeb/CSS/Percentage.h
@@ -37,7 +37,6 @@ public:
}
bool operator==(Percentage const& other) const { return m_value == other.m_value; }
- bool operator!=(Percentage const& other) const { return !(*this == other); }
private:
float m_value;
@@ -147,7 +146,6 @@ public:
return (m_value.template get<Percentage>() == other.m_value.template get<Percentage>());
return (m_value.template get<T>() == other.m_value.template get<T>());
}
- bool operator!=(PercentageOr<T> const& other) const { return !(*this == other); }
protected:
bool is_t() const { return m_value.template has<T>(); }
diff --git a/Userland/Libraries/LibWeb/CSS/Resolution.h b/Userland/Libraries/LibWeb/CSS/Resolution.h
index 589d070509..be17e56431 100644
--- a/Userland/Libraries/LibWeb/CSS/Resolution.h
+++ b/Userland/Libraries/LibWeb/CSS/Resolution.h
@@ -32,11 +32,6 @@ public:
return m_type == other.m_type && m_value == other.m_value;
}
- bool operator!=(Resolution const& other) const
- {
- return !(*this == other);
- }
-
private:
StringView unit_name() const;
diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.h b/Userland/Libraries/LibWeb/CSS/StyleProperties.h
index 55f51fd020..1aeafd6f59 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleProperties.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.h
@@ -109,7 +109,6 @@ public:
float line_height(Layout::Node const&) const;
bool operator==(StyleProperties const&) const;
- bool operator!=(StyleProperties const& other) const { return !(*this == other); }
Optional<CSS::Position> position() const;
Optional<int> z_index() const;
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h
index 5360447c18..a454938273 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValue.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h
@@ -402,7 +402,6 @@ public:
virtual String to_string() const = 0;
bool operator==(StyleValue const& other) const { return equals(other); }
- bool operator!=(StyleValue const& other) const { return !(*this == other); }
virtual bool equals(StyleValue const& other) const = 0;
diff --git a/Userland/Libraries/LibWeb/CSS/Time.h b/Userland/Libraries/LibWeb/CSS/Time.h
index 52c05603b7..f682d440dc 100644
--- a/Userland/Libraries/LibWeb/CSS/Time.h
+++ b/Userland/Libraries/LibWeb/CSS/Time.h
@@ -41,11 +41,6 @@ public:
return m_type == other.m_type && m_value == other.m_value;
}
- bool operator!=(Time const& other) const
- {
- return !(*this == other);
- }
-
private:
StringView unit_name() const;