mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibWeb/CSS: Remove outdated FIXME
This method no longer sets anything to `initial`.
This commit is contained in:
parent
34c14d4e6d
commit
475788732f
Notes:
github-actions[bot]
2025-05-14 10:48:40 +00:00
Author: https://github.com/AtkinsSJ
Commit: 475788732f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4209
Reviewed-by: https://github.com/awesomekling
1 changed files with 0 additions and 2 deletions
|
@ -1710,8 +1710,6 @@ NonnullRefPtr<CSSStyleValue const> StyleComputer::get_inherit_value(CSS::Propert
|
|||
|
||||
void StyleComputer::compute_defaulted_property_value(ComputedProperties& style, DOM::Element const* element, CSS::PropertyID property_id, Optional<CSS::PseudoElement> pseudo_element) const
|
||||
{
|
||||
// FIXME: If we don't know the correct initial value for a property, we fall back to `initial`.
|
||||
|
||||
auto& value_slot = style.m_property_values[to_underlying(property_id)];
|
||||
if (!value_slot) {
|
||||
if (is_inherited_property(property_id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue