LibWeb: Allow setting initial value context when creating CSS parser

This commit is contained in:
Callum Law 2025-10-01 13:00:51 +13:00 committed by Tim Ledbetter
commit fbc6a4c96f
Notes: github-actions[bot] 2025-10-20 15:14:01 +00:00
2 changed files with 20 additions and 17 deletions

View file

@ -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))
{