Closed
Bug 1526826
Opened 5 years ago
Closed 5 years ago
MozElements.BaseText doesn't inherit from MozElements.BaseControl
Categories
(Toolkit :: UI Widgets, task, P3)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(1 file)
The "basetext" binding inherits "basecontrol" in XBL: https://bgrins.github.io/xbl-analysis/tree/.
But the BaseTextMixin doesn't inherit the BaseControlMixin: https://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/toolkit/content/customElements.js#316. This means properties like "disabled" don't get added to MozElements.BaseText instances.
Assignee | ||
Comment 1•5 years ago
|
||
I think this should fix it:
-const BaseTextMixin = Base => class extends Base {
+const BaseTextMixin = Base => class extends BaseControlMixin(Base) {
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Updated•5 years ago
|
Priority: -- → P3
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c589a17c80d5 Make BaseTextMixin extend BaseControlMixin r=surkov
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•5 years ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•