mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
LibWeb: Rename Element::computed_style() to resolved_css_values()
This more accurately reflects what's actually being returned.
This commit is contained in:
parent
8aa24c45dd
commit
43ef813f3d
3 changed files with 4 additions and 4 deletions
|
@ -281,7 +281,7 @@ void Element::recompute_style()
|
|||
document().invalidate_layout();
|
||||
}
|
||||
|
||||
NonnullRefPtr<CSS::StyleProperties> Element::computed_style()
|
||||
NonnullRefPtr<CSS::StyleProperties> Element::resolved_css_values()
|
||||
{
|
||||
auto element_computed_style = CSS::ResolvedCSSStyleDeclaration::create(*this);
|
||||
auto properties = CSS::StyleProperties::create();
|
||||
|
|
|
@ -96,7 +96,7 @@ public:
|
|||
|
||||
CSS::StyleProperties const* specified_css_values() const { return m_specified_css_values.ptr(); }
|
||||
void set_specified_css_values(RefPtr<CSS::StyleProperties> style) { m_specified_css_values = move(style); }
|
||||
NonnullRefPtr<CSS::StyleProperties> computed_style();
|
||||
NonnullRefPtr<CSS::StyleProperties> resolved_css_values();
|
||||
|
||||
const CSS::CSSStyleDeclaration* inline_style() const { return m_inline_style; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue