mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
LibWeb: Make factory method of CSS::ResolvedCSSStyleDeclaration fallible
This commit is contained in:
parent
f28b8431bf
commit
8fbd43cb27
4 changed files with 5 additions and 5 deletions
|
@ -438,7 +438,7 @@ Element::NeedsRelayout Element::recompute_style()
|
|||
|
||||
NonnullRefPtr<CSS::StyleProperties> Element::resolved_css_values()
|
||||
{
|
||||
auto element_computed_style = CSS::ResolvedCSSStyleDeclaration::create(*this);
|
||||
auto element_computed_style = CSS::ResolvedCSSStyleDeclaration::create(*this).release_value_but_fixme_should_propagate_errors();
|
||||
auto properties = CSS::StyleProperties::create();
|
||||
|
||||
for (auto i = to_underlying(CSS::first_property_id); i <= to_underlying(CSS::last_property_id); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue