#include "third_party/blink/renderer/core/layout/floats_utils.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/layout/block_break_token.h"
#include "third_party/blink/renderer/core/layout/constraint_space.h"
#include "third_party/blink/renderer/core/layout/constraint_space_builder.h"
#include "third_party/blink/renderer/core/layout/fragment_builder.h"
#include "third_party/blink/renderer/core/layout/fragmentation_utils.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/layout/layout_result.h"
#include "third_party/blink/renderer/core/layout/length_utils.h"
#include "third_party/blink/renderer/core/layout/logical_fragment.h"
#include "third_party/blink/renderer/core/layout/min_max_sizes.h"
#include "third_party/blink/renderer/core/layout/physical_fragment.h"
#include "third_party/blink/renderer/core/layout/positioned_float.h"
#include "third_party/blink/renderer/core/layout/space_utils.h"
#include "third_party/blink/renderer/core/layout/unpositioned_float.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
namespace blink {
namespace {
BfcOffset AdjustToTopEdgeAlignmentRule(const ExclusionSpace& exclusion_space,
const BfcOffset& offset) { … }
LayoutOpportunity FindLayoutOpportunityForFloat(
const UnpositionedFloat& unpositioned_float,
const ExclusionSpace& exclusion_space,
const BoxStrut& fragment_margins,
LayoutUnit inline_size) { … }
ConstraintSpace CreateConstraintSpaceForFloat(
const UnpositionedFloat& unpositioned_float,
std::optional<LayoutUnit> origin_block_offset = std::nullopt,
std::optional<BoxStrut> margins = std::nullopt) { … }
ExclusionShapeData* CreateExclusionShapeData(
const BoxStrut& margins,
const UnpositionedFloat& unpositioned_float) { … }
const ExclusionArea* CreateExclusionArea(
const LogicalFragment& fragment,
const BfcOffset& float_margin_bfc_offset,
const BoxStrut& margins,
const UnpositionedFloat& unpositioned_float,
EFloat type) { … }
void LayoutFloatWithoutFragmentation(UnpositionedFloat* unpositioned_float) { … }
}
LayoutUnit ComputeMarginBoxInlineSizeForUnpositionedFloat(
UnpositionedFloat* unpositioned_float) { … }
PositionedFloat PositionFloat(UnpositionedFloat* unpositioned_float,
ExclusionSpace* exclusion_space) { … }
}