Remove <children> usage from autocomplete binding
Categories
(Toolkit :: UI Widgets, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: ntim, Assigned: ntim)
References
(Regressed 1 open bug)
Details
Attachments
(1 file)
Two of them are specific to the browser searchbar, and the other one is unused. Doing this will allow us to decouple searchbar logic from the autocomplete binding, but also make the autocomplete binding markup more simple and closer to an actual HTML input.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
•
|
||
Assignee | ||
Comment 4•5 years ago
•
|
||
I think TB will need to port this change over (if it lands):
<children includes="image|box"/>
:
- https://searchfox.org/comm-central/source/mail/components/addrbook/content/abMailListDialog.xul#82
- https://searchfox.org/comm-central/source/mail/components/addrbook/content/abEditListDialog.xul#71
<children/>
:
- https://searchfox.org/comm-central/source/editor/ui/dialogs/content/EdLinkProps.xul#46
- https://searchfox.org/comm-central/source/editor/ui/dialogs/content/EdImageProps.xul#47
For Firefox's only usage of <children includes="..."/>
, I'm just moving out the children from the textbox and putting them as siblings.
For TB, some different ideas are:
- Moving out the actual children and putting them as siblings like Firefox
- Using
background-image
instead of<image src="person-icon"/>
- Temporarily creating a new binding that extends autocomplete, and that adds back the
<children/>
in the<content>
Assignee | ||
Comment 5•5 years ago
|
||
Alternatively, if it's too much trouble to take care of now, I'm happy to keep <children/>
and <children includes="image"/>
(since TB only needs those 2) until bug 1534455 is fixed.
Assignee | ||
Comment 6•5 years ago
|
||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #4)
I think TB will need to port this change over (if it lands):
Thanks, filed bug 1557978.
Comment 9•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•