mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
We mark any element that relies on tree counting functions as needing a style update when a sibling is inserted/removed.
20 lines
492 B
C++
20 lines
492 B
C++
/*
|
|
* Copyright (c) 2025, Callum Law <callumlaw1709@outlook.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/CSS/StyleValues/StyleValue.h>
|
|
|
|
namespace Web::CSS {
|
|
|
|
class AbstractNonMathCalcFunctionStyleValue : public StyleValue {
|
|
using StyleValue::StyleValue;
|
|
|
|
public:
|
|
virtual RefPtr<CalculationNode const> resolve_to_calculation_node(CalculationContext const&, CalculationResolutionContext const&, PropertyComputationDependencies*) const = 0;
|
|
};
|
|
|
|
}
|