chromium/third_party/blink/renderer/core/dom/whitespace_attacher_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/dom/whitespace_attacher.h"

#include <gtest/gtest.h>

#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_shadow_root_init.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/layout_tree_builder_traversal.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/layout/layout_text.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"

namespace blink {

class WhitespaceAttacherTest : public PageTestBase {};

TEST_F(WhitespaceAttacherTest, WhitespaceAfterReattachedBlock) {}

TEST_F(WhitespaceAttacherTest, WhitespaceAfterReattachedInline) {}

TEST_F(WhitespaceAttacherTest, WhitespaceAfterReattachedWhitespace) {}

TEST_F(WhitespaceAttacherTest, VisitBlockAfterReattachedWhitespace) {}

TEST_F(WhitespaceAttacherTest, VisitInlineAfterReattachedWhitespace) {}

TEST_F(WhitespaceAttacherTest, VisitTextAfterReattachedWhitespace) {}

TEST_F(WhitespaceAttacherTest, ReattachWhitespaceInsideBlockExitingScope) {}

TEST_F(WhitespaceAttacherTest, ReattachWhitespaceInsideInlineExitingScope) {}

TEST_F(WhitespaceAttacherTest, SlottedWhitespaceAfterReattachedBlock) {}

TEST_F(WhitespaceAttacherTest, SlottedWhitespaceAfterReattachedInline) {}

TEST_F(WhitespaceAttacherTest,
       WhitespaceInDisplayContentsAfterReattachedBlock) {}

TEST_F(WhitespaceAttacherTest,
       WhitespaceInDisplayContentsAfterReattachedInline) {}

TEST_F(WhitespaceAttacherTest,
       WhitespaceAfterEmptyDisplayContentsAfterReattachedBlock) {}

TEST_F(WhitespaceAttacherTest,
       WhitespaceAfterDisplayContentsWithDisplayNoneChildAfterReattachedBlock) {}

TEST_F(WhitespaceAttacherTest, WhitespaceDeepInsideDisplayContents) {}

TEST_F(WhitespaceAttacherTest, MultipleDisplayContents) {}

TEST_F(WhitespaceAttacherTest, SlottedWhitespaceInsideDisplayContents) {}

TEST_F(WhitespaceAttacherTest, RemoveInlineBeforeSpace) {}

TEST_F(WhitespaceAttacherTest, RemoveInlineBeforeOutOfFlowBeforeSpace) {}

TEST_F(WhitespaceAttacherTest, RemoveSpaceBeforeSpace) {}

TEST_F(WhitespaceAttacherTest, CreateSpaceForScrollMarkerGroup) {}

TEST_F(WhitespaceAttacherTest, RemoveSpaceForScrollMarkerGroup) {}

TEST_F(WhitespaceAttacherTest, RemoveInlineBeforeDisplayContentsWithSpace) {}

TEST_F(WhitespaceAttacherTest, RemoveBlockBeforeSpace) {}

}  // namespace blink