| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 88635ec6376e55e5ee9ce338373c8747e990fadf..6288e9eab21da774c3c9c3c93ea147f0867d8187 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -40417,8 +40417,9 @@ class _SvgNodeValidator implements NodeValidator {
|
| }
|
| // Firefox 37 has issues with creating foreign elements inside a
|
| // foreignobject tag as SvgElement. We don't want foreignobject contents
|
| - // anyway, so just remove the whole tree outright.
|
| - if (element is svg.ForeignObjectElement) {
|
| + // anyway, so just remove the whole tree outright. And we can't rely
|
| + // on IE recognizing the SvgForeignObject type, so go by tagName. Bug 23144
|
| + if (element is svg.SvgElement && element.tagName == 'foreignObject') {
|
| return false;
|
| }
|
| if (element is svg.SvgElement) {
|
|
|