import'dart:sky';import'package:test/test.dart';voidmain(){test("should return null for elements not a child of a scope",(){vardoc=newDocument();varelement=doc.createElement("div");expect(element.owner,isNull);});test("should return the document for elements in the document scope",(){vardoc=newDocument();varelement=doc.createElement("div");doc.appendChild(element);expect(element.owner,equals(doc));});}