Closed Bug 1152482 Opened 11 years ago Closed 11 years ago

Make separators work in AutoCompleteE10SView

Categories

(Toolkit :: Autocomplete, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
e10s m6+ ---
firefox40 --- fixed

People

(Reporter: mrbkap, Assigned: mrbkap)

References

Details

Attachments

(1 file)

For bug 1024437, we'll eventually need separators between the form history suggestions and <datalist> suggestions. They don't currently work, but should. I have a patch.
It took forever to figure out how this worked (and would have taken much longer without Felipe's help on IRC). Basically, we need to call FormAutoCompleteResult.getStyleAt <http://mxr.mozilla.org/mozilla-central/source/toolkit/components/satchel/nsFormAutoCompleteResult.jsm?rev=8998763a34f5#131> for each result's "tree properties", which then gets picked up by CSS rules such as <mxr.mozilla.org/mozilla-central/source/browser/themes/osx/browser.css?rev=3d4fb6a3ab9e#2399>.
Attachment #8589891 - Flags: review?(felipc)
tracking-e10s: --- → ?
Attachment #8589891 - Flags: review?(felipc) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: