#include "third_party/blink/renderer/core/html/forms/text_control_element.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.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/frame_selection.h"
#include "third_party/blink/renderer/core/editing/position.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/forms/html_text_area_element.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
namespace blink {
String PlaceholderString(Element& e) { … }
class TextControlElementTest : public testing::Test { … };
void TextControlElementTest::SetUp() { … }
TEST_F(TextControlElementTest, SetSelectionRange) { … }
TEST_F(TextControlElementTest, SetSelectionRangeDoesNotCauseLayout) { … }
TEST_F(TextControlElementTest, IndexForPosition) { … }
TEST_F(TextControlElementTest, ReadOnlyAttributeChangeEditability) { … }
TEST_F(TextControlElementTest, DisabledAttributeChangeEditability) { … }
TEST_F(TextControlElementTest, PlaceholderElement) { … }
TEST_F(TextControlElementTest, PlaceholderElementNewlineBehavior) { … }
TEST_F(TextControlElementTest, TextAreaPlaceholderElementNewlineBehavior) { … }
}