chromium/third_party/blink/renderer/core/html/forms/html_select_element_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/html/forms/html_select_element.h"

#include <memory>

#include "testing/gtest/include/gtest/gtest.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/dom/shadow_root.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/html/forms/form_controller.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html/forms/html_option_element.h"
#include "third_party/blink/renderer/core/html/forms/select_type.h"
#include "third_party/blink/renderer/core/layout/layout_theme.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

class HTMLSelectElementTest : public PageTestBase {};

void HTMLSelectElementTest::SetUp() {}

void HTMLSelectElementTest::TearDown() {}

// Tests that HtmlSelectElement::SetAutofillValue() doesn't change the
// `user_has_edited_the_field_` attribute of the field.
TEST_F(HTMLSelectElementTest, SetAutofillValuePreservesEditedState) {}

TEST_F(HTMLSelectElementTest, SaveRestoreSelectSingleFormControlState) {}

TEST_F(HTMLSelectElementTest, SaveRestoreSelectMultipleFormControlState) {}

TEST_F(HTMLSelectElementTest, RestoreUnmatchedFormControlState) {}

TEST_F(HTMLSelectElementTest, VisibleBoundsInLocalRoot) {}

TEST_F(HTMLSelectElementTest, PopupIsVisible) {}

TEST_F(HTMLSelectElementTest, FirstSelectableOption) {}

TEST_F(HTMLSelectElementTest, LastSelectableOption) {}

TEST_F(HTMLSelectElementTest, NextSelectableOption) {}

TEST_F(HTMLSelectElementTest, PreviousSelectableOption) {}

TEST_F(HTMLSelectElementTest, ActiveSelectionEndAfterOptionRemoval) {}

TEST_F(HTMLSelectElementTest, DefaultToolTip) {}

TEST_F(HTMLSelectElementTest, SetRecalcListItemsByOptgroupRemoval) {}

TEST_F(HTMLSelectElementTest, ScrollToOptionAfterLayoutCrash) {}

TEST_F(HTMLSelectElementTest, CrashOnAttachingMenuList) {}

TEST_F(HTMLSelectElementTest, CrashOnAttachingMenuList2) {}

TEST_F(HTMLSelectElementTest, SlotAssignmentRecalcDuringOptionRemoval) {}

// crbug.com/1060039
TEST_F(HTMLSelectElementTest, SelectMultipleOptionsByPopup) {}

TEST_F(HTMLSelectElementTest, IntrinsicInlineSizeOverflow) {}

TEST_F(HTMLSelectElementTest, AddingNotOwnedOption) {}

TEST_F(HTMLSelectElementTest, ChangeRenderingCrash) {}

TEST_F(HTMLSelectElementTest, ChangeRenderingCrash2) {}

TEST_F(HTMLSelectElementTest, ChangeRenderingCrash3) {}

TEST_F(HTMLSelectElementTest, ChangeRenderingSelectRoot) {}

}  // namespace blink