#include "third_party/blink/renderer/core/layout/layout_br.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/html/html_br_element.h"
#include "third_party/blink/renderer/core/layout/layout_object_inlines.h"
namespace blink {
static String NewlineString() { … }
LayoutBR::LayoutBR(HTMLBRElement& node) : … { … }
LayoutBR::~LayoutBR() = default;
int LayoutBR::CaretMinOffset() const { … }
int LayoutBR::CaretMaxOffset() const { … }
unsigned LayoutBR::NonCollapsedCaretMaxOffset() const { … }
PositionWithAffinity LayoutBR::PositionForPoint(const PhysicalOffset&) const { … }
Position LayoutBR::PositionForCaretOffset(unsigned offset) const { … }
std::optional<unsigned> LayoutBR::CaretOffsetForPosition(
const Position& position) const { … }
}