Closed
Bug 274337
Opened 20 years ago
Closed 17 years ago
Clicking on the button makes it shrink in size (float:left and next to select drop down)
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Assigned: dbaron)
References
()
Details
(Keywords: helpwanted, testcase)
Attachments
(2 files, 1 obsolete file)
Clicking on one of the buttons on that size makes them shrink. I'll attach a minimal testcase. It seems like a regression: Not happening in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Happening in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
I don't see it shrink, but I do see a change in size. Seems to regress between 2003-06-14-05 and 2003-06-15-05 nightly builds. I don't really see anything in that range that would cause this, though. :(
Comment 3•19 years ago
|
||
Comment 4•19 years ago
|
||
Tracing frame->GetStyleFont()->mFont.name and .size in nsHTMLReflowState::Init : font=Arial,serif:240 in normal state and font=Arial,serif:200 when the button is pressed (for Testcase #2, Line 1.) Looks like a style system problem...
Assignee: nobody → dbaron
Component: Layout → Style System (CSS)
OS: Windows XP → All
QA Contact: layout → ian
Comment 5•19 years ago
|
||
This fixes it, I'm not sure exactly why 'medium' is needed there though... Maybe this has something to do with it: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/style/nsRuleNode.cpp&rev=1.156&root=/cvsroot&mark=642-663#635
| Assignee | ||
Comment 7•19 years ago
|
||
That looks like an invalid 'font' declaration.
Comment 8•19 years ago
|
||
Comment on attachment 186712 [details] [diff] [review] fix? Yeah, my mistake... so we should fix this then: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/style/forms.css&rev= 3.101&root=/cvsroot&mark=106#100
Attachment #186712 -
Attachment is obsolete: true
Comment 9•19 years ago
|
||
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/style/forms.css&rev=3.101&root=/cvsroot&mark=106#100
| Assignee | ||
Comment 10•19 years ago
|
||
-moz-fixed is a generic font-family, -moz-button is a system font.
Comment 11•19 years ago
|
||
Perhaps what you want is: font: -moz-button; font-size: medium; ?
Updated•19 years ago
|
Keywords: helpwanted
Comment 12•19 years ago
|
||
see also bug 199755
| Assignee | ||
Updated•18 years ago
|
QA Contact: ian → style-system
| Reporter | ||
Comment 13•17 years ago
|
||
This is now worksforme, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120505 Minefield/3.0b2pre
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Updated•17 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•