diff --git a/Libraries/LibWeb/CSS/SelectorEngine.cpp b/Libraries/LibWeb/CSS/SelectorEngine.cpp index 1baff8bc2f6ba..ae74b41c1d420 100644 --- a/Libraries/LibWeb/CSS/SelectorEngine.cpp +++ b/Libraries/LibWeb/CSS/SelectorEngine.cpp @@ -416,20 +416,24 @@ static bool matches_read_write_pseudo_class(DOM::Element const& element) return element.is_editable_or_editing_host(); } -// https://www.w3.org/TR/selectors-4/#open-state +// https://drafts.csswg.org/selectors-4/#open-state static bool matches_open_state_pseudo_class(DOM::Element const& element, bool open) { // The :open pseudo-class represents an element that has both “open” and “closed” states, // and which is currently in the “open” state. - // The :closed pseudo-class represents an element that has both “open” and “closed” states, - // and which is currently in the closed state. - // NOTE: Spec specifically suggests supporting
, , and