#include "third_party/blink/renderer/core/layout/list/unpositioned_list_marker.h"
#include "third_party/blink/renderer/core/layout/box_fragment_builder.h"
#include "third_party/blink/renderer/core/layout/constraint_space.h"
#include "third_party/blink/renderer/core/layout/inline/fragment_items_builder.h"
#include "third_party/blink/renderer/core/layout/inline/physical_line_box_fragment.h"
#include "third_party/blink/renderer/core/layout/layout_result.h"
#include "third_party/blink/renderer/core/layout/list/layout_outside_list_marker.h"
#include "third_party/blink/renderer/core/layout/logical_box_fragment.h"
namespace blink {
UnpositionedListMarker::UnpositionedListMarker(LayoutOutsideListMarker* marker)
: … { … }
UnpositionedListMarker::UnpositionedListMarker(const BlockNode& node)
: … { … }
LayoutUnit UnpositionedListMarker::InlineOffset(
const LayoutUnit marker_inline_size) const { … }
const LayoutResult* UnpositionedListMarker::Layout(
const ConstraintSpace& parent_space,
const ComputedStyle& parent_style,
FontBaseline baseline_type) const { … }
std::optional<LayoutUnit> UnpositionedListMarker::ContentAlignmentBaseline(
const ConstraintSpace& space,
FontBaseline baseline_type,
const PhysicalFragment& content) const { … }
void UnpositionedListMarker::AddToBox(
const ConstraintSpace& space,
FontBaseline baseline_type,
const PhysicalFragment& content,
const BoxStrut& border_scrollbar_padding,
const LayoutResult& marker_layout_result,
LayoutUnit content_baseline,
LayoutUnit* block_offset,
BoxFragmentBuilder* container_builder) const { … }
void UnpositionedListMarker::AddToBoxWithoutLineBoxes(
const ConstraintSpace& space,
FontBaseline baseline_type,
const LayoutResult& marker_layout_result,
BoxFragmentBuilder* container_builder,
LayoutUnit* intrinsic_block_size) const { … }
LayoutUnit UnpositionedListMarker::ComputeIntrudedFloatOffset(
const ConstraintSpace& space,
const BoxFragmentBuilder* container_builder,
const BoxStrut& border_scrollbar_padding,
LayoutUnit marker_block_offset) const { … }
#if DCHECK_IS_ON()
void UnpositionedListMarker::CheckMargin() const { … }
#endif
void UnpositionedListMarker::Trace(Visitor* visitor) const { … }
}