Open Bug 1593023 Opened 5 years ago Updated 2 years ago

Remove xul flex js properties from XUL elements (`.dir`, `.align`, `.pack`, `.orient`, `.flex`, `.ordinal`) and use setAttribute / getAttribute instead

Categories

(Core :: XUL, task, P3)

task

Tracking

()

People

(Reporter: bgrins, Unassigned)

References

(Depends on 1 open bug, Blocks 3 open bugs)

Details

This isn't decided yet, but in Bug 1580983 I'm wondering if there are ways to avoid requiring an HTML Custom Element to replace 'vanilla' xul elements (discussion in https://phabricator.services.mozilla.com/D51168).

One thing that would help is if we stopped relying on the xul flex properties (which don't exist on HTMLElement) and rewrote frontend code to use attributes instead https://searchfox.org/mozilla-central/rev/1fe0cf575841dbf3b7e159e88ba03260cd1354c0/dom/xul/nsXULElement.h#397-426.

See Also: → 1593303
Blocks: 1580983
See Also: 1580983
See Also: → 1593848
See Also: → 1596296
Depends on: 1593303
Depends on: 1607575
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.