Ticket #3874 (closed enhancement: fixed)
dojo.marginBox() doesn't work with default border width
| Reported by: | jaredj | Owned by: | sjmiles |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | HTML | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by bill) (diff)
Original description:
Using 0.9 LayoutContainer? and ContentPanes?, it appears that in IE 6 the right edge of the stuff in the content panes are clipped off the view. In FireFox? and Safari it's fine.
I made a testcase that shows this. It's actually from some doc I've been working on and discovered the clipping issue.
Note from Bill: It's a problem with dojo.marginBox() when the border width isn't specified. The border width defaults to the string "medium", which is 4px, but dojo._toPixelValue(node, "medium") returns 0 (rather than 4).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.