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:
Kirk Steuber 2019-12-20 17:41:31 +00:00
parent 27b191a96e
commit c9ab4ba28d
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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); }