Closed
Bug 62304
Opened 25 years ago
Closed 24 years ago
[CASCADE] Can't style form controls
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: pierre, Assigned: pierre)
Details
(Keywords: regression, Whiteboard: [fix in hand])
Attachments
(4 files)
|
1.03 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.42 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.23 KB,
text/plain
|
Details | |
|
2.28 KB,
text/plain
|
Details |
This bug is extracted from bug 45850. See the comments from [Jeremy Wrinkle
2000-12-06 16:58]: userContent.css can no longer style the form controls.
This is a regression introduced by the latest changes to implement forms.css.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Updated•25 years ago
|
Comment 2•25 years ago
|
||
a=hyatt, although we really should fix user sheets so that they aren't appended
as backstop sheets. :)
Well, user stylesheets should really be a middle level between the UA stylesheet
and the author(=page) stylesheet, as the CSS spec says...
Comment 4•25 years ago
|
||
Pierre, I cannot apply the patch, and from looking at it I am confused. Is the
patch intact? If so, I don't understand what happened to the loop over the
chrome registry stylesheets - I probably need the full context but, like I said,
I cannot apply it. Can you attach another with 'diff -u'? thanks.
Looks good, with one simple question:
In this code:
> sheets->Count(&count);
> for(PRUint32 i=0; i<count; i++) {
> sheets->GetElementAt(i, getter_AddRefs(sheet));
I just want to verify that "count" is valid in the loop. There is nothing in
the code that follows in the loop that can change the count of items in
"sheets", right?
If true, sr=buster.
| Assignee | ||
Comment 6•25 years ago
|
||
Marc, the patch consists in appending the chrome sheets after the user sheets
(instead of before). I'm going to attach new diffs and the function before and
after the changes.
In response to buster (just for the record: he's not copied on this bug and he
didn't seem to care): correct, the count of stysheets cannot be changed from
within the loop. The sheets are read from the chromeRegistry and appended to the
styleset. The styleset cannot change the chromeRegistry.
| Assignee | ||
Comment 7•25 years ago
|
||
| Assignee | ||
Comment 8•25 years ago
|
||
| Assignee | ||
Comment 9•25 years ago
|
||
Comment 10•25 years ago
|
||
Thanks Pierre - looks great, r=attinasi
Comment 11•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
| Assignee | ||
Comment 12•24 years ago
|
||
Shoot! I forgot to checkin that fix in the last 2 milestones. Moved to 0.9.1.
Target Milestone: --- → mozilla0.9.1
| Assignee | ||
Comment 13•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 14•24 years ago
|
||
QA -> HTML Form Controls
Component: Style System → HTML Form Controls
QA Contact: ian → vladimire
You need to log in
before you can comment on or make changes to this bug.
Description
•