| 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 da5532b1cdf585665d66eed86b7483be98234c17..f7566bc1f4d0e30afe37bc10de2e6b668e5f6857 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -10103,6 +10103,11 @@ abstract class Element extends Node implements ParentNode, ChildNode {
|
| if (_parseDocument == null) {
|
| _parseDocument = document.implementation.createHtmlDocument('');
|
| _parseRange = _parseDocument.createRange();
|
| +
|
| + // Workaround for Chrome bug 229142- URIs are not resolved in new doc.
|
| + var base = _parseDocument.$dom_createElement('base');
|
| + base.href = document._baseUri;
|
| + _parseDocument.head.append(base);
|
| }
|
| var contextElement;
|
| if (this is BodyElement) {
|
| @@ -19126,6 +19131,10 @@ class Node extends EventTarget {
|
| @DocsEditable()
|
| static const int TEXT_NODE = 3;
|
|
|
| + @DomName('Node.baseURI')
|
| + @DocsEditable()
|
| + String get _baseUri native "Node_baseURI_Getter";
|
| +
|
| @DomName('Node.childNodes')
|
| @DocsEditable()
|
| @deprecated
|
|
|