#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/mathml/mathml_operator_element.h"
#include "third_party/blink/renderer/core/css/style_change_reason.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/text/mathml_operator_dictionary.h"
namespace blink {
namespace {
static const uint32_t kOperatorPropertyFlagsAll = …;
static const uint32_t kOperatorPropertyFlagsNone = …;
struct MathMLOperatorDictionaryProperties { … };
static const MathMLOperatorDictionaryProperties
MathMLOperatorDictionaryCategories[] = …;
static const QualifiedName& OperatorPropertyFlagToAttributeName(
MathMLOperatorElement::OperatorPropertyFlag flag) { … }
}
MathMLOperatorElement::MathMLOperatorElement(Document& doc)
: … { … }
void MathMLOperatorElement::ChildrenChanged(
const ChildrenChange& children_change) { … }
void MathMLOperatorElement::SetOperatorPropertyDirtyFlagIfNeeded(
const AttributeModificationParams& param,
const OperatorPropertyFlag& flag,
bool& needs_layout) { … }
void MathMLOperatorElement::ParseAttribute(
const AttributeModificationParams& param) { … }
void MathMLOperatorElement::ComputeDictionaryCategory() { … }
void MathMLOperatorElement::ComputeOperatorProperty(OperatorPropertyFlag flag) { … }
bool MathMLOperatorElement::IsVertical() { … }
bool MathMLOperatorElement::HasBooleanProperty(OperatorPropertyFlag flag) { … }
void MathMLOperatorElement::CheckFormAfterSiblingChange() { … }
void MathMLOperatorElement::SetOperatorFormDirty() { … }
void MathMLOperatorElement::AddMathLSpaceIfNeeded(
ComputedStyleBuilder& builder,
const CSSToLengthConversionData& conversion_data) { … }
void MathMLOperatorElement::AddMathRSpaceIfNeeded(
ComputedStyleBuilder& builder,
const CSSToLengthConversionData& conversion_data) { … }
void MathMLOperatorElement::AddMathMinSizeIfNeeded(
ComputedStyleBuilder& builder,
const CSSToLengthConversionData& conversion_data) { … }
void MathMLOperatorElement::AddMathMaxSizeIfNeeded(
ComputedStyleBuilder& builder,
const CSSToLengthConversionData& conversion_data) { … }
double MathMLOperatorElement::DefaultLeadingSpace() { … }
double MathMLOperatorElement::DefaultTrailingSpace() { … }
}