mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
LibWeb: Rename LayoutNode::style() => specified_style()
Let's make way for a slightly-more-cooked style() that will eventually replace the raw specified_style() for layout and paint purposes.
This commit is contained in:
parent
90edaabc4b
commit
5e83a97fa2
17 changed files with 53 additions and 53 deletions
|
@ -79,7 +79,7 @@ int LineBoxFragment::text_index_at(float x) const
|
|||
if (!layout_node().is_text())
|
||||
return 0;
|
||||
auto& layout_text = to<LayoutText>(layout_node());
|
||||
auto& font = layout_text.style().font();
|
||||
auto& font = layout_text.specified_style().font();
|
||||
Utf8View view(text());
|
||||
|
||||
float relative_x = x - absolute_x();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue