Backed out changeset 8323b7bb5e1a (bug 1652618) for mochitest failures on test_audiocontrols_dimensions.html . CLOSED TREE

This commit is contained in:
Narcis Beleuzu
2020-07-23 00:49:31 +03:00
parent d577127d54
commit 338c569e68
10 changed files with 40 additions and 52 deletions

View File

@@ -4219,6 +4219,7 @@ nsresult HTMLInputElement::BindToTree(BindContext& aContext, nsINode& aParent) {
IsInComposedDoc()) {
// Construct Shadow Root so web content can be hidden in the DOM.
AttachAndSetUAShadowRoot();
NotifyUAWidgetSetupOrChange();
}
if (mType == NS_FORM_INPUT_PASSWORD) {
@@ -4483,6 +4484,7 @@ void HTMLInputElement::HandleTypeChange(uint8_t aNewType, bool aNotify) {
} else if (mType == NS_FORM_INPUT_TIME || mType == NS_FORM_INPUT_DATE) {
// Switch to date/time type.
AttachAndSetUAShadowRoot();
NotifyUAWidgetSetupOrChange();
}
}
}