mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1603828 - Remove XULElement.pack from webidl and c++ r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D57686 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
27b191a96e
commit
c9ab4ba28d
@ -18,8 +18,6 @@ interface XULElement : Element {
|
||||
attribute DOMString ordinal;
|
||||
[SetterThrows]
|
||||
attribute DOMString orient;
|
||||
[SetterThrows]
|
||||
attribute DOMString pack;
|
||||
|
||||
// Properties for hiding elements.
|
||||
attribute boolean hidden;
|
||||
|
@ -399,10 +399,6 @@ class nsXULElement : public nsStyledElement {
|
||||
void SetOrient(const nsAString& aValue, mozilla::ErrorResult& rv) {
|
||||
SetXULAttr(nsGkAtoms::orient, aValue, rv);
|
||||
}
|
||||
void GetPack(DOMString& aValue) const { GetXULAttr(nsGkAtoms::pack, aValue); }
|
||||
void SetPack(const nsAString& aValue, mozilla::ErrorResult& rv) {
|
||||
SetXULAttr(nsGkAtoms::pack, aValue, rv);
|
||||
}
|
||||
bool Hidden() const { return BoolAttrIsTrue(nsGkAtoms::hidden); }
|
||||
void SetHidden(bool aHidden) { SetXULBoolAttr(nsGkAtoms::hidden, aHidden); }
|
||||
bool Collapsed() const { return BoolAttrIsTrue(nsGkAtoms::collapsed); }
|
||||
|
Loading…
Reference in New Issue
Block a user