Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/dom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class AttributeName implements Comparable<Object> {
}

// http://dom.spec.whatwg.org/#parentnode
abstract class _ParentNode implements Node {
mixin _ParentNode implements Node {
// TODO(jmesserly): this is only a partial implementation

/// Seaches for the first descendant node matching the given selectors, using
Expand All @@ -103,7 +103,7 @@ abstract class _ParentNode implements Node {
}

// http://dom.spec.whatwg.org/#interface-nonelementparentnode
abstract class _NonElementParentNode implements _ParentNode {
mixin _NonElementParentNode implements _ParentNode {
// TODO(jmesserly): could be faster, should throw on invalid id.
Element? getElementById(String id) => querySelector('#$id');
}
Expand Down