[dom] Add [TreatNullAs=EmptyString] to Attr.nodeValue/textContent (#36)

This came up in an attempt to align Blink with the spec:
https://codereview.chromium.org/1146393003/

By adding [TreatNullAs=EmptyString], the spec would match current
Firefox and IE behavior. It probably doesn't matter, but is a quick
path to interop and less risky.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/36

-- Commit Summary --

  * Add [TreatNullAs=EmptyString] to Attr.nodeValue/textContent

-- File Changes --

    M dom.bs (4)
    M dom.html (10)

-- Patch Links --

https://github.com/whatwg/dom/pull/36.patch
https://github.com/whatwg/dom/pull/36.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/36

Received on Friday, 22 May 2015 09:55:49 UTC