ladybird/Libraries/LibWeb/CSS/StyleValues/ComputationContext.h
Callum Law 52192a308b LibWeb: Update absolutize to take a ComputationContext struct
This struct will in the future hold information other than a length
resolution context (e.g. context for tree counting functions) and a
single struct is easier to work with than multiple parameters.
2025-10-07 10:50:01 +01:00

17 lines
273 B
C++

/*
* Copyright (c) 2025, Callum Law <callumlaw1709@outlook.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/CSS/Length.h>
namespace Web::CSS {
struct ComputationContext {
Length::ResolutionContext length_resolution_context;
};
}