public CSSValue getPresentationAttribute(String name) {
CSSValue result = (CSSValue)getLiveAttributeValue(null, name);
if (result != null)
return result;
CSSEngine eng = ((SVGOMDocument)getOwnerDocument()).getCSSEngine();
int idx = eng.getPropertyIndex(name);
if (idx == -1)
return null;
if (idx > SVGCSSEngine.FINAL_INDEX) {
if (eng.getValueManagers()[idx] instanceof SVGPaintManager) {
result = new PresentationAttributePaintValue(eng, name);
}
if (eng.getValueManagers()[idx] instanceof SVGColorManager) {
result = new PresentationAttributeColorValue(eng, name);
}
} else {
switch (idx) {
case SVGCSSEngine.FILL_INDEX: