tmpvar/jsdom — pull request #453 by domenic (2012-05-30 15:25:49+00:00)
Title: Make `name` property undefined except for certain tags.

Tags listed at https://developer.mozilla.org/en/DOM/element.name.

Fixes #452.

---

I didn't replicate behavior like

```js
"name" in document.createElement("a") // true
"name" in document.createElement("section") // false
```

because it seemed like a much further-ranging change.

Test included; pretty sure I put it in the right place.