#7148 closed defect (fixed)
Safari margin handling on Button tags confuses setMarginBox
Reported by: | sjmiles | Owned by: | sjmiles |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | HTML | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
On Safari (3.1.2) button nodes with no explicit size have a default margin.
Setting explicit sizes (width/height) causes Safari to (silently) eliminate the default margin.
setMarginBox queries the margin size in order to adjust the dimensions correctly and (if no size was previously set) operates on bogus values.
It seems possible to detect this condition and swizzle the sizes before querying margins.
Change History (3)
comment:1 Changed 13 years ago by
Milestone: | tbd → 1.2 |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [14386]) On Safari, fix "button" edge case in "setMarginBox". Fixes #7148. See also #5518. !strict