public abstract class GWTFixImage
extends Object
Issue submitted to GWT:
Issue 8325: GWT Image: using 'VisibleRect' method erases previous stylesheets declared
Until version 2.5.1 GWT doesn't copy any old
properties to the new element created inside a Clipped
or NotClipped constructor. So they are lost at some point.
In order to copy the properties I had to use something like:
impl.setProperty(...);
for each one of them because the following method
(intended to copy all properties) doesn't work here:
getElement().setAttribute("style", currentStyle + oldStyle);
- Author:
- Samuel Almeida Cardoso (samuel@cruxframework.org)