Skip to content

Commit

Permalink
Describe issues with Element.attributes. (closes gh #27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cscott committed Apr 12, 2013
1 parent a654d65 commit cf8f7ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Also Domino doesn't implement any properties which have been deprecated in HTML5

Domino sticks to the [DOM level 4](http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-attr) working draft, which means that Attributes do not inherit the Node interface. Also [Element.attributes](http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-element-attributes) returns a read-only array instead of a NamedNodeMap.

<b>Note that</b> because domino does not use proxies,
`Element.attributes` is not a true JavaScript array; it is an object
with a `length` property and an `item(n)` accessor method. See
[github issue #27](https://github.com/fgnass/domino/issues/27) for
further discussion.

## CSS Selector Support

Domino provides support for `querySelector()` and `querySelectorAll()` backed by the [Zest](https://github.com/chjj/zest) selector engine.
Expand Down

0 comments on commit cf8f7ae

Please sign in to comment.