1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

LibWeb: Support the :scope pseudo class

This commit is contained in:
Simon Wanner 2023-03-20 23:42:17 +01:00 committed by Andreas Kling
parent a96ba912b3
commit c8ebacb1c9
6 changed files with 23 additions and 12 deletions

View file

@ -11,6 +11,6 @@
namespace Web::SelectorEngine {
bool matches(CSS::Selector const&, DOM::Element const&, Optional<CSS::Selector::PseudoElement> = {});
bool matches(CSS::Selector const&, DOM::Element const&, Optional<CSS::Selector::PseudoElement> = {}, JS::GCPtr<DOM::ParentNode const> scope = {});
}