chromium/third_party/blink/renderer/core/layout/layout_inline_test.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/layout_inline.h"

#include "build/build_config.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/layout/hit_test_location.h"
#include "third_party/blink/renderer/core/layout/inline/inline_cursor.h"
#include "third_party/blink/renderer/core/layout/layout_block_flow.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/core/paint/box_fragment_painter.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"

namespace blink {

UnorderedElementsAre;

class LayoutInlineTest : public RenderingTest {};

TEST_F(LayoutInlineTest, PhysicalLinesBoundingBox) {}

TEST_F(LayoutInlineTest, SimpleContinuation) {}

TEST_F(LayoutInlineTest, BlockInInlineRemove) {}

TEST_F(LayoutInlineTest, RegionHitTest) {}

// crbug.com/844746
TEST_F(LayoutInlineTest, RelativePositionedHitTest) {}

TEST_F(LayoutInlineTest, MultilineRelativePositionedHitTest) {}

TEST_F(LayoutInlineTest, HitTestCulledInlinePreWrap) {}

TEST_F(LayoutInlineTest, VisualRectInDocument) {}

TEST_F(LayoutInlineTest, VisualRectInDocumentVerticalRL) {}

TEST_F(LayoutInlineTest, VisualRectInDocumentSVGTspan) {}

TEST_F(LayoutInlineTest, VisualRectInDocumentSVGTspanTB) {}

// When adding focus ring rects, we should avoid adding duplicated rect for
// continuations.
// TODO(crbug.com/835484): The test is broken for LayoutNG.
TEST_F(LayoutInlineTest, DISABLED_FocusRingRecursiveContinuations) {}

// When adding focus ring rects, we should avoid adding line box rects of
// recursive inlines repeatedly.
// TODO(crbug.com/835484): The test is broken for LayoutNG.
TEST_F(LayoutInlineTest, DISABLED_FocusRingRecursiveInlinesVerticalRL) {}

// When adding focus ring rects, we should avoid adding duplicated rect for
// continuations.
// TODO(crbug.com/835484): The test is broken for LayoutNG.
TEST_F(LayoutInlineTest, DISABLED_FocusRingRecursiveContinuationsVerticalRL) {}

// When adding focus ring rects, we should avoid adding line box rects of
// recursive inlines repeatedly.
// TODO(crbug.com/835484): The test is broken for LayoutNG.
TEST_F(LayoutInlineTest, DISABLED_FocusRingRecursiveInlines) {}

TEST_F(LayoutInlineTest, AbsoluteBoundingBoxRectHandlingEmptyInline) {}

TEST_F(LayoutInlineTest, AbsoluteBoundingBoxRectHandlingEmptyInlineVerticalRL) {}

TEST_F(LayoutInlineTest, AddDraggableRegions) {}

TEST_F(LayoutInlineTest, AddDraggableRegionsVerticalRL) {}

TEST_F(LayoutInlineTest, VisualOverflowRecalcLegacyLayout) {}

TEST_F(LayoutInlineTest, VisualOverflowRecalcLayoutNG) {}

TEST_F(LayoutInlineTest, VisualOverflowRecalcLegacyLayoutPositionRelative) {}

}  // namespace blink