// 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. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_BOX_SIDES_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_BOX_SIDES_H_ #include "base/check_op.h" #include "third_party/blink/renderer/platform/text/writing_mode.h" #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" namespace blink { // Presence of box sides (e.g. borders) for a fragment, in the logical // coordinate space. Line and / or block fragmentation may cause a layout box to // be split into multiple lines, columns, etc., and, as long as // 'box-decoration-break' is 'slice' (i.e. the initial value), the leading // border should only be painted at the first fragment, and the trailing border // should only be painted at the last one. struct LogicalBoxSides { … }; // Presence of box sides (e.g. borders) for a fragment, in the physical // coordinate space. struct PhysicalBoxSides { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_BOX_SIDES_H_