mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Implement and use parse_a_style_blocks_contents()
This commit is contained in:
parent
6a0adbefc7
commit
cd199d9d06
Notes:
sideshowbarker
2024-07-17 16:27:28 +09:00
Author: https://github.com/AtkinsSJ
Commit: cd199d9d06
Pull-request: https://github.com/SerenityOS/serenity/pull/13361
2 changed files with 113 additions and 1 deletions
|
@ -141,6 +141,9 @@ private:
|
|||
template<typename T>
|
||||
Optional<StyleDeclarationRule> parse_a_declaration(TokenStream<T>&);
|
||||
|
||||
template<typename T>
|
||||
Vector<DeclarationOrAtRule> parse_a_style_blocks_contents(TokenStream<T>&);
|
||||
|
||||
// "Parse a list of declarations" is for the contents of a style attribute, which parses text into the contents of a single style rule.
|
||||
template<typename T>
|
||||
Vector<DeclarationOrAtRule> parse_a_list_of_declarations(TokenStream<T>&);
|
||||
|
@ -185,6 +188,8 @@ private:
|
|||
template<typename T>
|
||||
[[nodiscard]] RefPtr<StyleRule> consume_a_qualified_rule(TokenStream<T>&);
|
||||
template<typename T>
|
||||
[[nodiscard]] Vector<DeclarationOrAtRule> consume_a_style_blocks_contents(TokenStream<T>&);
|
||||
template<typename T>
|
||||
[[nodiscard]] Vector<DeclarationOrAtRule> consume_a_list_of_declarations(TokenStream<T>&);
|
||||
template<typename T>
|
||||
[[nodiscard]] Optional<StyleDeclarationRule> consume_a_declaration(TokenStream<T>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue