mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Rename Element::specified_css_values() => computed_css_values()
Let's make it very clear that these are *computed* values, and not at all the specified values. The specified values are currently discarded by the CSS cascade algorithm.
This commit is contained in:
parent
43ef813f3d
commit
e31fe3eeb8
6 changed files with 23 additions and 23 deletions
|
@ -104,7 +104,7 @@ void TreeBuilder::create_layout_tree(DOM::Node& dom_node, TreeBuilder::Context&
|
|||
style = style_computer.compute_style(element);
|
||||
if (style->display().is_none())
|
||||
return;
|
||||
element.set_specified_css_values(style);
|
||||
element.set_computed_css_values(style);
|
||||
layout_node = element.create_layout_node(*style);
|
||||
} else if (is<DOM::Document>(dom_node)) {
|
||||
style = style_computer.create_document_style();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue