String prop = rule.getStyle().item(i);
props[i] = rule.getStyle().item(i); cssValues[i] = rule.getStyle().getPropertyValue(props[i]); cssPrios[i] = rule.getStyle().getPropertyPriority(props[i]); }  for(int i=0; i<length; i++) { String prop = props[i];  rule.getStyle().setProperty(prop,  cssValues[i], cssPrios[i]);
    public CSSStyleRule normalize(CSSStyleRule rule) {        int length = rule.getStyle().getLength();        //HACK: we need to rewrite all properties in expandProperty        //that way, we keep good cascade in case some fool redefined part of a shorthand-property        //The good solution would be to create a new CSSStyleRule entirely        for(int i=0; i<length; i++) {            String prop = rule.getStyle().item(i);            expandProperty(prop,rule);        }        return rule;    }