Re: [w3c/webcomponents] [idea] Allow HTML Element attributes to accept any type of value, not just strings. (#519)

The problem is that *nothing* currently is prepared to handle non-string attribute values. Nor are libraries/frameworks, nor are browsers. To make this work would be a lot harder than it actually looks like. Browsers would have to *completely* change the way they handle attributes, and that’s not trivial.

> properties aren't guaranteed to exist, but attributes are.

I don’t think that I understand what you mean.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/519#issuecomment-225456344

Received on Sunday, 12 June 2016 19:45:47 UTC