public String getWhitespace(Context c, Node node) { Element e = null; if (node instanceof Element) { e = (Element) node; } else { e = (Element) node.getParentNode(); } String whitespace = c.css.getStyle(e).getStringProperty("white-space"); if (whitespace == null) {
public String getWhitespace(CalculatedStyle style) { String whitespace = style.getStringProperty("white-space"); if (whitespace == null) {
    public String getWhitespace(Context c, Node node) {        Element e = null;        if (node instanceof Element) {            e = (Element) node;        } else {            e = (Element) node.getParentNode();        }        String whitespace = c.css.getStyle(e).getStringProperty("white-space");        if (whitespace == null) {            whitespace = "normal";        }        return whitespace;    }