зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
086a13d1cb
Коммит
1b30d46307
|
@ -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); }
|
||||
|
|
Загрузка…
Ссылка в новой задаче