Actions
Bug #497
closedWFlashObject - resize
Start date:
09/07/2010
Due date:
% Done:
100%
Estimated time:
Description
Hello, there seems to be an issue with the WFlashObject.
When I resize to 100% it puts a size of 16 on the object (but a 100% size on the containing div).
Best regards,
Thim.
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Wim Dumon
Updated by Wim Dumon over 13 years ago
- Status changed from InProgress to Resolved
- % Done changed from 0 to 100
WFlashObject did not take into account that apart from 'px', '%' is also a valid unit to specify the width and height attributes of a flash movie.
A patch will be in the next release (or sooner in the public git repository), which does the following:
- if width/height specified in , set width and height to the surrounding div (in), and set width/height of flash object to 100%
- if width/height is not specified, don't set a width/height attribute on the div or on the flash object
- if width/height is specified in any other unit, it is converted to pixels and set it to both the div and the flash object
Does this sound reasonable?
W.
Actions