Closed Bug 62304 Opened 25 years ago Closed 24 years ago

[CASCADE] Can't style form controls

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: pierre, Assigned: pierre)

Details

(Keywords: regression, Whiteboard: [fix in hand])

Attachments

(4 files)

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.
Attached patch proposed patchSplinter Review
Status: NEW → ASSIGNED
Keywords: regression
Whiteboard: [fix in hand]
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...
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.
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.
Attached patch diffs -uSplinter Review
Thanks Pierre - looks great, r=attinasi
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
Shoot! I forgot to checkin that fix in the last 2 milestones. Moved to 0.9.1.
Target Milestone: --- → mozilla0.9.1
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA -> HTML Form Controls
Component: Style System → HTML Form Controls
QA Contact: ian → vladimire
marking verifed as per developers comments
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: