chromium/third_party/blink/renderer/core/layout/mathml/math_fraction_layout_algorithm.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Describes the amount to shift the numerator/denominator of the fraction when
// a fraction bar is present. Data is populated from the OpenType MATH table.
// If the OpenType MATH table is not present fallback values are used.
// https://w3c.github.io/mathml-core/#fraction-with-nonzero-line-thickness
struct FractionParameters {};

FractionParameters GetFractionParameters(const ComputedStyle& style) {}

// Describes the amount to shift the numerator/denominator of the fraction when
// a fraction bar is not present. Data is populated from the OpenType MATH
// table. If the OpenType MATH table is not present fallback values are used.
// https://w3c.github.io/mathml-core/#fraction-with-zero-line-thickness
struct FractionStackParameters {};

FractionStackParameters GetFractionStackParameters(const ComputedStyle& style) {}

}  // namespace

MathFractionLayoutAlgorithm::MathFractionLayoutAlgorithm(
    const LayoutAlgorithmParams& params)
    :{}

void MathFractionLayoutAlgorithm::GatherChildren(BlockNode* numerator,
                                                 BlockNode* denominator) {}

const LayoutResult* MathFractionLayoutAlgorithm::Layout() {}

MinMaxSizesResult MathFractionLayoutAlgorithm::ComputeMinMaxSizes(
    const MinMaxSizesFloatInput&) {}

}  // namespace blink