Nope, pure reflow bug..
Assignee: dom_bugs → form
Component: DOM Style → Layout: Form Controls
Assignee: form → bzbarsky
Priority: -- → P1
Summary: Changing select element style mistakenly alters its height → [FIX]Changing select element style mistakenly alters its height
Target Milestone: --- → mozilla1.6alpha
Created attachment 133739 [details] [diff] [review] Fix You have fallen into a Special Case.... <sigh>
Comment on attachment 133739 [details] [diff] [review] Fix roc, would you review? The problem is that the "width is 0" special case fucks up the height, and this gets cached. So we keep losing the borderpadding width on every iteration...
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
+ aDesiredSize.height = dispHeight + aBorderPadding.top + aBorderPadding.bottom;; nit: there's one semicolon too much
You need to log in before you can comment on or make changes to this bug.