Bug 1603827 - Remove XULElement.orient from webidl and c++ r=webidl,mccr8

Differential Revision: https://phabricator.services.mozilla.com/D57664

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kirk Steuber 2020-01-07 19:25:34 +00:00
Родитель 086a13d1cb
Коммит 1b30d46307
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -14,8 +14,6 @@ interface XULElement : Element {
// Layout properties
[SetterThrows]
attribute DOMString flex;
[SetterThrows]
attribute DOMString orient;
// Properties for hiding elements.
attribute boolean hidden;

Просмотреть файл

@ -387,12 +387,6 @@ class nsXULElement : public nsStyledElement {
void SetFlex(const nsAString& aValue, mozilla::ErrorResult& rv) {
SetXULAttr(nsGkAtoms::flex, aValue, rv);
}
void GetOrient(DOMString& aValue) const {
GetXULAttr(nsGkAtoms::orient, aValue);
}
void SetOrient(const nsAString& aValue, mozilla::ErrorResult& rv) {
SetXULAttr(nsGkAtoms::orient, aValue, rv);
}
bool Hidden() const { return BoolAttrIsTrue(nsGkAtoms::hidden); }
void SetHidden(bool aHidden) { SetXULBoolAttr(nsGkAtoms::hidden, aHidden); }
bool Collapsed() const { return BoolAttrIsTrue(nsGkAtoms::collapsed); }