Commit 153159b0 authored by Joey Arhar's avatar Joey Arhar Committed by Commit Bot

Remove input.rawValue experiment

I decided to not move forward with this experiment here:
https://github.com/whatwg/html/issues/5257#issuecomment-607548564

Bug: 1126053
Change-Id: Ic6dd7446f14d38dc5f9f5b9538a9278c88528ef1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2399119Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805053}
parent d8026cde
...@@ -1112,10 +1112,6 @@ String HTMLInputElement::value() const { ...@@ -1112,10 +1112,6 @@ String HTMLInputElement::value() const {
return g_empty_string; return g_empty_string;
} }
String HTMLInputElement::rawValue() const {
return input_type_view_->RawValue();
}
String HTMLInputElement::ValueOrDefaultLabel() const { String HTMLInputElement::ValueOrDefaultLabel() const {
String value = this->value(); String value = this->value();
if (!value.IsNull()) if (!value.IsNull())
......
...@@ -155,8 +155,6 @@ class CORE_EXPORT HTMLInputElement ...@@ -155,8 +155,6 @@ class CORE_EXPORT HTMLInputElement
bool IsValidValue(const String&) const; bool IsValidValue(const String&) const;
bool HasDirtyValue() const; bool HasDirtyValue() const;
String rawValue() const;
String SanitizeValue(const String&) const; String SanitizeValue(const String&) const;
String LocalizeValue(const String&) const; String LocalizeValue(const String&) const;
......
...@@ -81,8 +81,6 @@ enum SelectionMode { "select", "start", "end", "preserve" }; ...@@ -81,8 +81,6 @@ enum SelectionMode { "select", "start", "end", "preserve" };
readonly attribute NodeList labels; readonly attribute NodeList labels;
[RuntimeEnabled=InputElementRawValue] readonly attribute DOMString rawValue;
void select(); void select();
[RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned long? selectionStart; [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned long? selectionStart;
[RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned long? selectionEnd; [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned long? selectionEnd;
......
...@@ -212,8 +212,4 @@ void ClickHandlingState::Trace(Visitor* visitor) const { ...@@ -212,8 +212,4 @@ void ClickHandlingState::Trace(Visitor* visitor) const {
EventDispatchHandlingState::Trace(visitor); EventDispatchHandlingState::Trace(visitor);
} }
String InputTypeView::RawValue() const {
return g_empty_string;
}
} // namespace blink } // namespace blink
...@@ -145,7 +145,6 @@ class CORE_EXPORT InputTypeView : public GarbageCollectedMixin { ...@@ -145,7 +145,6 @@ class CORE_EXPORT InputTypeView : public GarbageCollectedMixin {
// Validation functions // Validation functions
virtual bool HasBadInput() const; virtual bool HasBadInput() const;
virtual String RawValue() const;
virtual wtf_size_t FocusedFieldIndex() const { return 0; } virtual wtf_size_t FocusedFieldIndex() const { return 0; }
protected: protected:
......
...@@ -703,10 +703,6 @@ AXObject* MultipleFieldsTemporalInputTypeView::PopupRootAXObject() { ...@@ -703,10 +703,6 @@ AXObject* MultipleFieldsTemporalInputTypeView::PopupRootAXObject() {
return nullptr; return nullptr;
} }
String MultipleFieldsTemporalInputTypeView::RawValue() const {
return GetDateTimeEditElement()->innerText();
}
wtf_size_t MultipleFieldsTemporalInputTypeView::FocusedFieldIndex() const { wtf_size_t MultipleFieldsTemporalInputTypeView::FocusedFieldIndex() const {
return GetDateTimeEditElement()->FocusedFieldIndex(); return GetDateTimeEditElement()->FocusedFieldIndex();
} }
......
...@@ -56,8 +56,6 @@ class MultipleFieldsTemporalInputTypeView final ...@@ -56,8 +56,6 @@ class MultipleFieldsTemporalInputTypeView final
~MultipleFieldsTemporalInputTypeView() override; ~MultipleFieldsTemporalInputTypeView() override;
void Trace(Visitor*) const override; void Trace(Visitor*) const override;
String RawValue() const override;
wtf_size_t FocusedFieldIndex() const override; wtf_size_t FocusedFieldIndex() const override;
private: private:
......
...@@ -593,8 +593,4 @@ void TextFieldInputType::SpinButtonDidReleaseMouseCapture( ...@@ -593,8 +593,4 @@ void TextFieldInputType::SpinButtonDidReleaseMouseCapture(
GetElement().DispatchFormControlChangeEvent(); GetElement().DispatchFormControlChangeEvent();
} }
String TextFieldInputType::RawValue() const {
return GetElement().InnerEditorElement()->innerText();
}
} // namespace blink } // namespace blink
...@@ -46,8 +46,6 @@ class TextFieldInputType : public InputType, ...@@ -46,8 +46,6 @@ class TextFieldInputType : public InputType,
void Trace(Visitor*) const override; void Trace(Visitor*) const override;
using InputType::GetElement; using InputType::GetElement;
String RawValue() const override;
protected: protected:
TextFieldInputType(HTMLInputElement&); TextFieldInputType(HTMLInputElement&);
~TextFieldInputType() override; ~TextFieldInputType() override;
......
...@@ -938,10 +938,6 @@ ...@@ -938,10 +938,6 @@
name: "InertAttribute", name: "InertAttribute",
status: "experimental", status: "experimental",
}, },
{
name: "InputElementRawValue",
status: "experimental",
},
{ {
name: "InputMultipleFieldsUI", name: "InputMultipleFieldsUI",
// No plan to support complex UI for date/time INPUT types on Android. // No plan to support complex UI for date/time INPUT types on Android.
......
...@@ -732,7 +732,6 @@ html element input ...@@ -732,7 +732,6 @@ html element input
property name property name
property pattern property pattern
property placeholder property placeholder
property rawValue
property readOnly property readOnly
property reportValidity property reportValidity
property required property required
......
...@@ -3516,7 +3516,6 @@ interface HTMLInputElement : HTMLElement ...@@ -3516,7 +3516,6 @@ interface HTMLInputElement : HTMLElement
getter name getter name
getter pattern getter pattern
getter placeholder getter placeholder
getter rawValue
getter readOnly getter readOnly
getter required getter required
getter selectionDirection getter selectionDirection
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment