} else { System.err.println("unhandled value type in RuleNormalizer.expandBorder");
    private void expandBorder(CSSStyleRule rule) {        CSSStyleDeclaration dec = rule.getStyle();        CSSValue val = dec.getPropertyCSSValue("border");        String prio = dec.getPropertyPriority("border");        CSSValueList list = (CSSValueList)val;        CSSValue a, b, c;        if(val.getCssValueType() == val.CSS_VALUE_LIST) {            for(int i=0; i<list.getLength(); i++) {                CSSValue v = list.item(i);                if(isDimension(v.getCssText())) {                    dec.setProperty("border-width",v.getCssText(),prio);                    expandProperty("border-width",rule);                }                if(isColor(v.getCssText())) {                    dec.setProperty("border-color",v.getCssText(),prio);                    expandProperty("border-color",rule);                }                if(isBorderStyle(v.getCssText())) {                    dec.setProperty("border-style",v.getCssText(),prio);                    expandProperty("border-style",rule);                }            }        }    }