Opened 11 years ago
Last modified 11 years ago
#11274 confirmed Bug
Flash placeholder change size after copy and paste in image2 sample
Reported by: | Piotr Jasiun | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
- Open any browser (tested with IE8 and Chrome).
- Go to "New Image plugin" sample.
- Insert flash with dimensions (ex. 500 width; 500 height).
- Select placeholder cut it and paste somewhere.
Result: placeholder changes size.
Moreover if you do not set dimensions of flash after cut & paste you will get width = 1 and height = 1.
Also in "Replace by class" sample everything is ok.
Change History (1)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.3 → 4.3 Beta |
It happens because image2 uses a width,height style to attribute transformations for images. So there's a conflict, because fakeobject uses styles and have some "defaults" set in stylesheet. Those defaults overwrite dimensions set using attributes, so all pasted fakeobjects are 80x80.
I think that this issue is a part of bigger one. Fakeobject is outdated in general and perhaps it should become a widget one day.