Backed out 3 changesets (bug 675943) for causing wpt unexpected passes.

Backed out changeset 56d084bfc8b8 (bug 675943)
Backed out changeset 8f514549a81c (bug 675943)
Backed out changeset 33fabcece85d (bug 675943)
This commit is contained in:
Cosmin Sabou
2023-05-24 14:43:06 +03:00
parent 0ae4e9abad
commit f429c7dc71
20 changed files with 278 additions and 113 deletions

View File

@@ -730,13 +730,6 @@ class HTMLInputElement final : public TextControlElement,
SetHTMLAttr(nsGkAtoms::usemap, aValue, aRv);
}
void GetDirName(nsAString& aValue) {
GetHTMLAttr(nsGkAtoms::dirname, aValue);
}
void SetDirName(const nsAString& aValue, ErrorResult& aRv) {
SetHTMLAttr(nsGkAtoms::dirname, aValue, aRv);
}
nsIControllers* GetControllers(ErrorResult& aRv);
// XPCOM adapter function widely used throughout code, leaving it as is.
nsresult GetControllers(nsIControllers** aResult);
@@ -1590,16 +1583,6 @@ class HTMLInputElement final : public TextControlElement,
}
}
bool DoesDirnameApply() const {
switch (mType) {
case FormControlType::InputText:
case FormControlType::InputSearch:
return true;
default:
return false;
}
}
static bool CreatesDateTimeWidget(FormControlType aType) {
return aType == FormControlType::InputDate ||
aType == FormControlType::InputTime ||