diff --git a/layout/forms/nsComboboxControlFrame.cpp b/layout/forms/nsComboboxControlFrame.cpp index 25a3f742e77f..4034357bd79e 100644 --- a/layout/forms/nsComboboxControlFrame.cpp +++ b/layout/forms/nsComboboxControlFrame.cpp @@ -696,13 +696,6 @@ nsresult nsComboboxControlFrame::CreateAnonymousContent( // Set tabindex="-1" so that the button is not tabbable mButtonContent->SetAttr(kNameSpaceID_None, nsGkAtoms::tabindex, u"-1"_ns, false); - - WritingMode wm = GetWritingMode(); - if (wm.IsVertical()) { - mButtonContent->SetAttr(kNameSpaceID_None, nsGkAtoms::orientation, - wm.IsVerticalRL() ? u"left"_ns : u"right"_ns, - false); - } aElements.AppendElement(mButtonContent); } diff --git a/layout/style/jar.mn b/layout/style/jar.mn index 449b0fd6d02a..05da99bc5102 100644 --- a/layout/style/jar.mn +++ b/layout/style/jar.mn @@ -11,12 +11,6 @@ toolkit.jar: res/noframes.css (res/noframes.css) res/scrollbars.css (res/scrollbars.css) res/forms.css (res/forms.css) - res/arrow.gif (res/arrow.gif) - res/arrow-left.gif (res/arrow-left.gif) - res/arrow-right.gif (res/arrow-right.gif) - res/arrowd.gif (res/arrowd.gif) - res/arrowd-left.gif (res/arrowd-left.gif) - res/arrowd-right.gif (res/arrowd-right.gif) res/accessiblecaret-normal@1x.png (res/accessiblecaret-normal@1x.png) res/accessiblecaret-normal@1.5x.png (res/accessiblecaret-normal@1.5x.png) res/accessiblecaret-normal@2x.png (res/accessiblecaret-normal@2x.png) diff --git a/layout/style/res/arrow-left.gif b/layout/style/res/arrow-left.gif deleted file mode 100644 index a8c200447376..000000000000 Binary files a/layout/style/res/arrow-left.gif and /dev/null differ diff --git a/layout/style/res/arrow-right.gif b/layout/style/res/arrow-right.gif deleted file mode 100644 index 044fe8152bb6..000000000000 Binary files a/layout/style/res/arrow-right.gif and /dev/null differ diff --git a/layout/style/res/arrow.gif b/layout/style/res/arrow.gif deleted file mode 100644 index afb4641226cf..000000000000 Binary files a/layout/style/res/arrow.gif and /dev/null differ diff --git a/layout/style/res/arrowd-left.gif b/layout/style/res/arrowd-left.gif deleted file mode 100644 index 227def79b8bf..000000000000 Binary files a/layout/style/res/arrowd-left.gif and /dev/null differ diff --git a/layout/style/res/arrowd-right.gif b/layout/style/res/arrowd-right.gif deleted file mode 100644 index 999cf3983ba8..000000000000 Binary files a/layout/style/res/arrowd-right.gif and /dev/null differ diff --git a/layout/style/res/arrowd.gif b/layout/style/res/arrowd.gif deleted file mode 100644 index 02173c700400..000000000000 Binary files a/layout/style/res/arrowd.gif and /dev/null differ diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css index fbad7d8e9b38..1366613213a5 100644 --- a/layout/style/res/forms.css +++ b/layout/style/res/forms.css @@ -269,9 +269,6 @@ select > button { inline-size: 12px; white-space: nowrap; position: static; - background-image: url("arrow.gif"); - background-repeat: no-repeat; - background-position: center; appearance: auto; -moz-default-appearance: -moz-menulist-arrow-button; @@ -287,26 +284,6 @@ select > button { vertical-align: top; } -select > button:active { - background-image: url("arrowd.gif") !important; -} - -select > button[orientation="left"] { - background-image: url("arrow-left.gif") !important; -} - -select > button[orientation="right"] { - background-image: url("arrow-right.gif") !important; -} - -select > button[orientation="left"]:active { - background-image: url("arrowd-left.gif") !important; -} - -select > button[orientation="right"]:active { - background-image: url("arrowd-right.gif") !important; -} - *|*::-moz-display-comboboxcontrol-frame { content: inherit; overflow: clip;