Changes between Version 2 and Version 3 of Ticket #5603, comment 7


Ignore:
Timestamp:
Jan 17, 2012, 7:41:01 AM (8 years ago)
Author:
eh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5603, comment 7

    v2 v3  
    99
    1010Looking at the layout boxes with Firebug, though, reveals the Firefox defect. The horizontal positions, margins, padding, and width add up correctly to the width of the containing element. In the vertical, though, they add up consistently to 9 instead of 20, and that's with a variety of style instructions. I haven't dug into this enough to know why. Regardless of how Firefox rendering works out in the end, it's pretty clear it's going to take some browser-specific code, which is what I'm doing to work around it.
     11
     12Update: The button widget was declared with { text: false }, but no 'label' property. Adding label text removes the need for Firefox-specific code. Adding label text that was empty or just a single space did not.