mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Combine shared stylesheet parsing functionality
No functionality changes
This commit is contained in:
parent
da14e072b7
commit
5fcf3d0b05
Notes:
github-actions[bot]
2025-06-24 11:52:33 +00:00
Author: https://github.com/Calme1709
Commit: 5fcf3d0b05
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5184
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 18 additions and 23 deletions
|
@ -93,6 +93,7 @@ class Parser {
|
|||
public:
|
||||
static Parser create(ParsingParams const&, StringView input, StringView encoding = "utf-8"sv);
|
||||
|
||||
GC::RootVector<GC::Ref<CSSRule>> convert_rules(Vector<Rule> const& raw_rules);
|
||||
GC::Ref<CSS::CSSStyleSheet> parse_as_css_stylesheet(Optional<::URL::URL> location, Vector<NonnullRefPtr<MediaQuery>> media_query_list = {});
|
||||
|
||||
struct PropertiesAndCustomProperties {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue