Closed
Bug 421196
Opened 17 years ago
Closed 17 years ago
PopupAutoCompleteRichResult and toolkit style rules use wrong type attribute for rich autocomplete panel
Categories
(Toolkit :: UI Widgets, defect, P1)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla1.9beta5
People
(Reporter: Gavin, Assigned: Gavin)
Details
Attachments
(1 file, 1 obsolete file)
970 bytes,
patch
|
enndeakin
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
browser.xul has:
<panel type="autocomplete-richlistbox" chromedir="&locale.dir;" id="PopupAutoCompleteRichResult" noautofocus="true" hidden="true"/>
but "autocomplete-richlistbox" isn't a valid type for the panel. The real type is "rich-autocomplete", per xul.css. ("autocomplete-richlistbox" appears to be the classname used for the popup's anonymous richlistbox and associated binding.) Turns out this doesn't matter too much, because we override it with an ID selector in browser.css [1], but we should fix it nonetheless to avoid this pattern spreading as people copy/paste our code.
[1] http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.css&rev=1.59&mark=23#22
Some of the toolkit autocomplete rules have selectors that match on that attribute value, as well. We should fix them, otherwise non-Firefox users of that kind of panel will be styled incorrectly.
Assignee | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
Comment on attachment 307601 [details] [diff] [review]
patch
xul.css should instead be changed to "autocomplete-richlistbox", as per https://bugzilla.mozilla.org/show_bug.cgi?id=399664#c22
Attachment #307601 -
Flags: review?(enndeakin) → review-
Assignee | ||
Comment 3•17 years ago
|
||
Attachment #307601 -
Attachment is obsolete: true
Attachment #308239 -
Flags: review?(enndeakin)
Assignee | ||
Updated•17 years ago
|
Component: General → XUL Widgets
Priority: -- → P1
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Assignee | ||
Updated•17 years ago
|
Target Milestone: --- → mozilla1.9beta5
Updated•17 years ago
|
Attachment #308239 -
Flags: review?(enndeakin) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #308239 -
Flags: approval1.9?
Comment 4•17 years ago
|
||
Comment on attachment 308239 [details] [diff] [review]
patch
a1.9+=damons
Attachment #308239 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 5•17 years ago
|
||
mozilla/toolkit/content/xul.css 1.119
You need to log in
before you can comment on or make changes to this bug.
Description
•