ExtendedParser ep,
ValueManager [] vms,
ShorthandManager [] sms) {
URL durl = ((SVGOMDocument)doc).getURLObject();
CSSEngine result = new SVGCSSEngine(doc, durl, ep, vms, sms, ctx);
URL url = getClass().getResource("resources/UserAgentStyleSheet.css");
if (url != null) {
InputSource is = new InputSource(url.toString());
result.setUserAgentStyleSheet
(result.parseStyleSheet(is, url, "all"));
}
return result;
}