1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 19:05:08 +00:00

LibWeb: Move/rename StyleBlockRule to Parser::Block

This commit is contained in:
Sam Atkins 2022-04-12 14:08:26 +01:00 committed by Andreas Kling
parent 624df40e20
commit 3e49036edf
11 changed files with 36 additions and 39 deletions

View file

@ -631,8 +631,8 @@ bool StyleComputer::expand_unresolved_values(DOM::Element& element, StringView p
Vector<Parser::ComponentValue> block_values;
if (!expand_unresolved_values(element, property_name, dependencies, source_block.values(), block_values, 0))
return false;
NonnullRefPtr<StyleBlockRule> block = adopt_ref(*new StyleBlockRule(source_block.token(), move(block_values)));
dest.empend(block);
NonnullRefPtr<Parser::Block> block = adopt_ref(*new Parser::Block(source_block.token(), move(block_values)));
dest.empend(move(block));
continue;
}
dest.empend(value.token());