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

// Copyright 2017 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_view.h"

#include "build/build_config.h"
#include "third_party/blink/public/mojom/webpreferences/web_preferences.mojom-blink.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/editing/text_affinity.h"
#include "third_party/blink/renderer/core/html/html_iframe_element.h"
#include "third_party/blink/renderer/core/layout/hit_test_location.h"
#include "third_party/blink/renderer/core/page/print_context.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"

namespace blink {

class LayoutViewTest : public RenderingTest {};

TEST_F(LayoutViewTest, UpdateCountersLayout) {}

TEST_F(LayoutViewTest, DisplayNoneFrame) {}

TEST_F(LayoutViewTest, NamedPages) {}

TEST_F(LayoutViewTest, NamedPagesAbsPos) {}

struct HitTestConfig {};

class LayoutViewHitTestTest : public testing::WithParamInterface<HitTestConfig>,
                              public RenderingTest {};

INSTANTIATE_TEST_SUITE_P();

// See editing/selection/click-after-nested-block.html
TEST_P(LayoutViewHitTestTest, BlockInInlineBelowBottom) {}

// See editing/pasteboard/drag-drop-list.html
TEST_P(LayoutViewHitTestTest, BlockInInlineWithListItem) {}

TEST_P(LayoutViewHitTestTest, EmptySpan) {}

// http://crbug.com/1233862
TEST_P(LayoutViewHitTestTest, FlexBlockChildren) {}

// http://crbug.com/1171070
// See also, FloatLeft*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatLeftLeft) {}

// http://crbug.com/1171070
// See also, FloatLeft*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatLeftMiddle) {}

// http://crbug.com/1171070
// See also, FloatLeft*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatLeftRight) {}

// http://crbug.com/1171070
// See also, FloatRight*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatRightLeft) {}

// http://crbug.com/1171070
// See also, FloatRight*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatRightMiddle) {}

// http://crbug.com/1171070
// See also, FloatRight*, DOM order of "float" should not affect hit testing.
TEST_P(LayoutViewHitTestTest, FloatRightRight) {}

TEST_P(LayoutViewHitTestTest, PositionAbsolute) {}

TEST_P(LayoutViewHitTestTest, HitTestHorizontal) {}

TEST_P(LayoutViewHitTestTest, HitTestVerticalLR) {}

TEST_P(LayoutViewHitTestTest, HitTestVerticalRL) {}

TEST_P(LayoutViewHitTestTest, HitTestVerticalRLRoot) {}

// http://crbug.com/1164974
TEST_P(LayoutViewHitTestTest, PseudoElementAfterBlock) {}

// http://crbug.com/1043471
TEST_P(LayoutViewHitTestTest, PseudoElementAfterInline) {}

TEST_P(LayoutViewHitTestTest, PseudoElementAfterBlockWithMargin) {}

// http://crbug.com/1268782
TEST_P(LayoutViewHitTestTest, ScrolledBlockChildren) {}

// See also "editing/selection/click-in-padding-with-multiple-line-boxes.html"
TEST_P(LayoutViewHitTestTest, ScrolledInlineChildren) {}

TEST_P(LayoutViewHitTestTest, TextAndInputsWithRtlDirection) {}

TEST_P(LayoutViewHitTestTest, TextCombineOneTextNode) {}

TEST_P(LayoutViewHitTestTest, TextCombineTwoTextNodes) {}

}  // namespace blink