mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Add naive support for document.querySelectorAll()
This currently returns a JS::Array of elements matching a selector. The more correct behavior would be to return a static NodeList, but as we don't have NodeLists right now, that'll be a task for the future.
This commit is contained in:
parent
c56acba75e
commit
0f7bcd4111
Notes:
sideshowbarker
2024-07-19 08:03:42 +09:00
Author: https://github.com/awesomekling
Commit: 0f7bcd4111
11 changed files with 182 additions and 78 deletions
|
@ -34,6 +34,7 @@ namespace Web {
|
|||
RefPtr<StyleSheet> parse_css(const StringView&);
|
||||
RefPtr<StyleDeclaration> parse_css_declaration(const StringView&);
|
||||
NonnullRefPtr<StyleValue> parse_css_value(const StringView&);
|
||||
Optional<Selector> parse_selector(const StringView&);
|
||||
|
||||
RefPtr<StyleValue> parse_line_width(const StringView&);
|
||||
RefPtr<StyleValue> parse_color(const StringView&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue