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

We can make it clearer that these are not supposed to be attribute values.

Like native elements, custom elements should not sprout "default" attributes the moment they are created. The user wrote `<x-tag>`, not `<x-tag foo="bar">`. Going against the user's wishes is not a pattern we're interested in supporting, and we'll try to stop that, as you've seen.

They should instead interpret the absence of an attribute as triggering the default behavior.

-- 
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-339165010

Received on Tuesday, 24 October 2017 23:18:30 UTC