Index: tools/dom/src/dartium_CssClassSet.dart |
diff --git a/tools/dom/src/dartium_CssClassSet.dart b/tools/dom/src/dartium_CssClassSet.dart |
index 868cc57cfc2e4ab18e065c1d62ea56d8ac64a759..e483c376229c67ee9516407a9b0fe9275f3be18a 100644 |
--- a/tools/dom/src/dartium_CssClassSet.dart |
+++ b/tools/dom/src/dartium_CssClassSet.dart |
@@ -73,6 +73,9 @@ class _ElementCssClassSet extends CssClassSetImpl { |
Set<String> readClasses() { |
var s = new LinkedHashSet<String>(); |
var classname = _element.className; |
+ if (classname is svg.AnimatedString) { |
+ classname = classname.baseVal; |
+ } |
for (String name in classname.split(' ')) { |
String trimmed = name.trim(); |