break;
}
case LexicalUnit.SAC_RECT_FUNCTION:
lu = lu.getParameters();
CSSPrimitiveValue t;
t = new CSSOMValue(factory, factory.createValue(lu));
lu = lu.getNextLexicalUnit();
if (lu == null ||
lu.getLexicalUnitType() != LexicalUnit.SAC_OPERATOR_COMMA) {
throw CSSDOMExceptionFactory.createDOMException
(DOMException.INVALID_ACCESS_ERR,
"invalid.lexical.unit",
new Object[] { new Integer(lu.getLexicalUnitType()) });
}
lu = lu.getNextLexicalUnit();
CSSPrimitiveValue r;
r = new CSSOMValue(factory, factory.createValue(lu));
lu = lu.getNextLexicalUnit();
if (lu == null ||
lu.getLexicalUnitType() != LexicalUnit.SAC_OPERATOR_COMMA) {
throw CSSDOMExceptionFactory.createDOMException
(DOMException.INVALID_ACCESS_ERR,
"invalid.lexical.unit",
new Object[] { new Integer(lu.getLexicalUnitType()) });
}
lu = lu.getNextLexicalUnit();
CSSPrimitiveValue b;
b = new CSSOMValue(factory, factory.createValue(lu));
lu = lu.getNextLexicalUnit();
if (lu == null ||
lu.getLexicalUnitType() != LexicalUnit.SAC_OPERATOR_COMMA) {
throw CSSDOMExceptionFactory.createDOMException
(DOMException.INVALID_ACCESS_ERR,
"invalid.lexical.unit",
new Object[] { new Integer(lu.getLexicalUnitType()) });
}
lu = lu.getNextLexicalUnit();
CSSPrimitiveValue l;
l = new CSSOMValue(factory, factory.createValue(lu));
return new ImmutableRect(t, r, b, l);
}
throw CSSDOMExceptionFactory.createDOMException
(DOMException.INVALID_ACCESS_ERR,
"invalid.lexical.unit",