- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 02 Nov 2017 15:24:37 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 November 2017 15:24:59 UTC
Make sure something like http://jsbin.com/yanutavebu/1/edit?html,js,output is in web-platform-tests. ``` var body = document.body; var firstName = document.createTextNode(''); var lastName = document.createTextNode(''); var boundary = document.createTextNode(''); body.appendChild(document.createTextNode('')); body.appendChild(firstName); body.appendChild(boundary); body.appendChild(document.createTextNode(' ')); body.appendChild(lastName); body.appendChild(document.createTextNode('')); body.appendChild(document.createTextNode('')); setTimeout(function(){ boundary.nodeValue = ' '; setTimeout(() => boundary.nodeValue = ''); firstName.nodeValue = 'Freddie'; lastName.nodeValue = 'Mercury'; }, 2000); ``` Text nodes not being reliable across browsers is rather sad. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/528
Received on Thursday, 2 November 2017 15:24:59 UTC