Index: lib/html/templates/html/impl/impl_DocumentFragment.darttemplate |
diff --git a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate |
index a916bbf5a3665e67fc25bcdbd9c1408297621164..c6b0eebddbfab8b2cac81b23375d9d62a5a3d421 100644 |
--- a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate |
+++ b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate |
@@ -106,16 +106,6 @@ Future<CSSStyleDeclaration> _emptyStyleFuture() { |
new Completer<CSSStyleDeclaration>()); |
} |
-class EmptyElementRect implements ElementRect { |
- final ClientRect client = const _SimpleClientRect(0, 0, 0, 0); |
- final ClientRect offset = const _SimpleClientRect(0, 0, 0, 0); |
- final ClientRect scroll = const _SimpleClientRect(0, 0, 0, 0); |
- final ClientRect bounding = const _SimpleClientRect(0, 0, 0, 0); |
- final List<ClientRect> clientRects = const <ClientRect>[]; |
- |
- const EmptyElementRect(); |
-} |
- |
class _FrozenCSSClassSet extends _CssClassSet { |
_FrozenCSSClassSet() : super(null); |
@@ -208,11 +198,6 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
this.insertAdjacentHTML('beforeend', text); |
} |
- Future<ElementRect> get rect { |
- return _createMeasurementFuture(() => const EmptyElementRect(), |
- new Completer<ElementRect>()); |
- } |
- |
// If we can come up with a semi-reasonable default value for an Element |
// getter, we'll use it. In general, these return the same values as an |
// element that has no parent. |