diff --git a/third_party/blink/renderer/core/html/forms/html_input_element.cc b/third_party/blink/renderer/core/html/forms/html_input_element.cc index 5bf294d760f48..c6e9bf4afdc7b 100644 --- a/third_party/blink/renderer/core/html/forms/html_input_element.cc +++ b/third_party/blink/renderer/core/html/forms/html_input_element.cc @@ -1112,10 +1112,6 @@ String HTMLInputElement::value() const { return g_empty_string; } -String HTMLInputElement::rawValue() const { - return input_type_view_->RawValue(); -} - String HTMLInputElement::ValueOrDefaultLabel() const { String value = this->value(); if (!value.IsNull()) diff --git a/third_party/blink/renderer/core/html/forms/html_input_element.h b/third_party/blink/renderer/core/html/forms/html_input_element.h index cf78602106aeb..5d82aa8f8fa84 100644 --- a/third_party/blink/renderer/core/html/forms/html_input_element.h +++ b/third_party/blink/renderer/core/html/forms/html_input_element.h @@ -155,8 +155,6 @@ class CORE_EXPORT HTMLInputElement bool IsValidValue(const String&) const; bool HasDirtyValue() const; - String rawValue() const; - String SanitizeValue(const String&) const; String LocalizeValue(const String&) const; diff --git a/third_party/blink/renderer/core/html/forms/html_input_element.idl b/third_party/blink/renderer/core/html/forms/html_input_element.idl index 3c153f49fd6a0..48bb6afc2a6f6 100644 --- a/third_party/blink/renderer/core/html/forms/html_input_element.idl +++ b/third_party/blink/renderer/core/html/forms/html_input_element.idl @@ -81,8 +81,6 @@ enum SelectionMode { "select", "start", "end", "preserve" }; readonly attribute NodeList labels; - [RuntimeEnabled=InputElementRawValue] readonly attribute DOMString rawValue; - void select(); [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned long? selectionStart; [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned long? selectionEnd; diff --git a/third_party/blink/renderer/core/html/forms/input_type_view.cc b/third_party/blink/renderer/core/html/forms/input_type_view.cc index 497ff6d1f4b86..e5251f53f7442 100644 --- a/third_party/blink/renderer/core/html/forms/input_type_view.cc +++ b/third_party/blink/renderer/core/html/forms/input_type_view.cc @@ -212,8 +212,4 @@ void ClickHandlingState::Trace(Visitor* visitor) const { EventDispatchHandlingState::Trace(visitor); } -String InputTypeView::RawValue() const { - return g_empty_string; -} - } // namespace blink diff --git a/third_party/blink/renderer/core/html/forms/input_type_view.h b/third_party/blink/renderer/core/html/forms/input_type_view.h index c681577225897..ad0d26036c42a 100644 --- a/third_party/blink/renderer/core/html/forms/input_type_view.h +++ b/third_party/blink/renderer/core/html/forms/input_type_view.h @@ -145,7 +145,6 @@ class CORE_EXPORT InputTypeView : public GarbageCollectedMixin { // Validation functions virtual bool HasBadInput() const; - virtual String RawValue() const; virtual wtf_size_t FocusedFieldIndex() const { return 0; } protected: diff --git a/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc b/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc index 36b156039174a..31176b7fe9048 100644 --- a/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc +++ b/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc @@ -703,10 +703,6 @@ AXObject* MultipleFieldsTemporalInputTypeView::PopupRootAXObject() { return nullptr; } -String MultipleFieldsTemporalInputTypeView::RawValue() const { - return GetDateTimeEditElement()->innerText(); -} - wtf_size_t MultipleFieldsTemporalInputTypeView::FocusedFieldIndex() const { return GetDateTimeEditElement()->FocusedFieldIndex(); } diff --git a/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.h b/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.h index b4d3f1fb934d9..98267a9af737e 100644 --- a/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.h +++ b/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.h @@ -56,8 +56,6 @@ class MultipleFieldsTemporalInputTypeView final ~MultipleFieldsTemporalInputTypeView() override; void Trace(Visitor*) const override; - String RawValue() const override; - wtf_size_t FocusedFieldIndex() const override; private: diff --git a/third_party/blink/renderer/core/html/forms/text_field_input_type.cc b/third_party/blink/renderer/core/html/forms/text_field_input_type.cc index 361d813b35887..b0e6c4bbc0f1c 100644 --- a/third_party/blink/renderer/core/html/forms/text_field_input_type.cc +++ b/third_party/blink/renderer/core/html/forms/text_field_input_type.cc @@ -593,8 +593,4 @@ void TextFieldInputType::SpinButtonDidReleaseMouseCapture( GetElement().DispatchFormControlChangeEvent(); } -String TextFieldInputType::RawValue() const { - return GetElement().InnerEditorElement()->innerText(); -} - } // namespace blink diff --git a/third_party/blink/renderer/core/html/forms/text_field_input_type.h b/third_party/blink/renderer/core/html/forms/text_field_input_type.h index d53045d2a2f74..645df53f88206 100644 --- a/third_party/blink/renderer/core/html/forms/text_field_input_type.h +++ b/third_party/blink/renderer/core/html/forms/text_field_input_type.h @@ -46,8 +46,6 @@ class TextFieldInputType : public InputType, void Trace(Visitor*) const override; using InputType::GetElement; - String RawValue() const override; - protected: TextFieldInputType(HTMLInputElement&); ~TextFieldInputType() override; diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 index e099349e28340..1775e71493a1a 100644 --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 @@ -938,10 +938,6 @@ name: "InertAttribute", status: "experimental", }, - { - name: "InputElementRawValue", - status: "experimental", - }, { name: "InputMultipleFieldsUI", // No plan to support complex UI for date/time INPUT types on Android. diff --git a/third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt b/third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt index 01e201732a2b2..d1c8c23171f23 100644 --- a/third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt +++ b/third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt @@ -732,7 +732,6 @@ html element input property name property pattern property placeholder - property rawValue property readOnly property reportValidity property required diff --git a/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt b/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt index 499842381912f..89316b9729174 100644 --- a/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt +++ b/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt @@ -3516,7 +3516,6 @@ interface HTMLInputElement : HTMLElement getter name getter pattern getter placeholder - getter rawValue getter readOnly getter required getter selectionDirection