Bug 1603826 - Remove XULElement.dir from webidl and c++ r=bzbarsky

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kirk Steuber 2019-12-18 18:17:11 +00:00
parent 17917ba373
commit e7c90834f7
2 changed files with 0 additions and 6 deletions

View file

@ -13,8 +13,6 @@ interface XULElement : Element {
// Layout properties
[SetterThrows]
attribute DOMString dir;
[SetterThrows]
attribute DOMString flex;
[SetterThrows]
attribute DOMString ordinal;

View file

@ -383,10 +383,6 @@ class nsXULElement : public nsStyledElement {
}
// WebIDL API
void GetDir(DOMString& aValue) const { GetXULAttr(nsGkAtoms::dir, aValue); }
void SetDir(const nsAString& aValue, mozilla::ErrorResult& rv) {
SetXULAttr(nsGkAtoms::dir, aValue, rv);
}
void GetFlex(DOMString& aValue) const { GetXULAttr(nsGkAtoms::flex, aValue); }
void SetFlex(const nsAString& aValue, mozilla::ErrorResult& rv) {
SetXULAttr(nsGkAtoms::flex, aValue, rv);