Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: tools/dom/src/dartium_CssClassSet.dart

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698