Re: [whatwg/dom] Attributes not ready on element construction? (#522)

Okay, maybe it's parsing.

```js
const d = document.createElement('div')
d.innerHTML = `
  <table>
    <tr><div>foo</div><td></td></tr>
  </table>
`
d.innerHTML
```

output:

```
"
  <div>foo</div><table>
    <tbody><tr><td></td></tr>
  </tbody></table>
"
```

That's much worse than what I'm doing here.

But you're right, I can achieve this without setting an attribute value, but what problems would it cause if I do?

-- 
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/522#issuecomment-339167836

Received on Tuesday, 24 October 2017 23:35:21 UTC