2020-01-18 05:38:21 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 05:38:21 -03:00
|
|
|
*/
|
|
|
|
|
|
2019-10-08 10:33:58 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-03-07 06:32:51 -03:00
|
|
|
#include <LibWeb/CSS/Selector.h>
|
2020-07-26 14:37:56 -03:00
|
|
|
#include <LibWeb/DOM/Element.h>
|
2019-10-08 10:33:58 -03:00
|
|
|
|
2020-07-26 14:37:56 -03:00
|
|
|
namespace Web::SelectorEngine {
|
2020-03-07 06:27:02 -03:00
|
|
|
|
2022-02-24 12:54:12 -03:00
|
|
|
bool matches(CSS::Selector const&, DOM::Element const&, Optional<CSS::Selector::PseudoElement> = {});
|
2020-03-07 06:27:02 -03:00
|
|
|
|
|
|
|
|
}
|