mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
LibWeb: Allow setting initial value context when creating CSS parser
This commit is contained in:
parent
85239fb1da
commit
fbc6a4c96f
Notes:
github-actions[bot]
2025-10-20 15:14:01 +00:00
Author: https://github.com/Calme1709
Commit: fbc6a4c96f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6426
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 20 additions and 17 deletions
|
|
@ -67,6 +67,7 @@ Parser::Parser(ParsingParams const& context, Vector<Token> tokens)
|
|||
, m_parsing_mode(context.mode)
|
||||
, m_tokens(move(tokens))
|
||||
, m_token_stream(m_tokens)
|
||||
, m_value_context(move(context.value_context))
|
||||
, m_rule_context(move(context.rule_context))
|
||||
, m_declared_namespaces(move(context.declared_namespaces))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue