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 {
return g_empty_string;
}
String HTMLInputElement::rawValue() const {
return input_type_view_->RawValue();
}
String HTMLInputElement::ValueOrDefaultLabel() const {
String value = this->value();
if (!value.IsNull())
......
......@@ -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;
......
......@@ -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;
......
......@@ -212,8 +212,4 @@ void ClickHandlingState::Trace(Visitor* visitor) const {
EventDispatchHandlingState::Trace(visitor);
}
String InputTypeView::RawValue() const {
return g_empty_string;
}
} // namespace blink
......@@ -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:
......
......@@ -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();
}
......
......@@ -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:
......
......@@ -593,8 +593,4 @@ void TextFieldInputType::SpinButtonDidReleaseMouseCapture(
GetElement().DispatchFormControlChangeEvent();
}
String TextFieldInputType::RawValue() const {
return GetElement().InnerEditorElement()->innerText();
}
} // namespace blink
......@@ -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;
......
......@@ -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.
......
......@@ -732,7 +732,6 @@ html element input
property name
property pattern
property placeholder
property rawValue
property readOnly
property reportValidity
property required
......
......@@ -3516,7 +3516,6 @@ interface HTMLInputElement : HTMLElement
getter name
getter pattern
getter placeholder
getter rawValue
getter readOnly
getter required
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