#include "third_party/blink/renderer/core/layout/mathml/math_fraction_layout_algorithm.h"
#include "third_party/blink/renderer/core/layout/length_utils.h"
#include "third_party/blink/renderer/core/layout/logical_box_fragment.h"
#include "third_party/blink/renderer/core/layout/mathml/math_layout_utils.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/platform/fonts/opentype/open_type_math_support.h"
namespace blink {
namespace {
struct FractionParameters { … };
FractionParameters GetFractionParameters(const ComputedStyle& style) { … }
struct FractionStackParameters { … };
FractionStackParameters GetFractionStackParameters(const ComputedStyle& style) { … }
}
MathFractionLayoutAlgorithm::MathFractionLayoutAlgorithm(
const LayoutAlgorithmParams& params)
: … { … }
void MathFractionLayoutAlgorithm::GatherChildren(BlockNode* numerator,
BlockNode* denominator) { … }
const LayoutResult* MathFractionLayoutAlgorithm::Layout() { … }
MinMaxSizesResult MathFractionLayoutAlgorithm::ComputeMinMaxSizes(
const MinMaxSizesFloatInput&) { … }
}