public static boolean isFloated(CascadedStyle style) {
public static boolean isFloated(CalculatedStyle style) {
    public static boolean isFloated(CascadedStyle style) {        if (style == null) {            return false;        }        IdentValue floatVal = style.getIdent(CSSName.FLOAT);        return floatVal != null && (floatVal == IdentValue.LEFT || floatVal == IdentValue.RIGHT);    }