We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f17317b commit 9ebdb58Copy full SHA for 9ebdb58
Libraries/LibWeb/CSS/StyleSheetIdentifier.h
@@ -26,6 +26,11 @@ struct StyleSheetIdentifier {
26
Optional<UniqueNodeID> dom_element_unique_id {};
27
Optional<String> url {};
28
size_t rule_count { 0 };
29
+
30
+ bool operator==(StyleSheetIdentifier const& other) const
31
+ {
32
+ return type == other.type && dom_element_unique_id == other.dom_element_unique_id && url == other.url;
33
+ }
34
};
35
36
StringView style_sheet_identifier_type_to_string(StyleSheetIdentifier::Type);
0 commit comments