w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 52 forks source link

Add reference to the element #217

Open NavidZ opened 5 years ago

NavidZ commented 5 years ago

@garykac I got also confused by this whole paragraph. Can we have an element that is not capable of being an event target? After all Element does inherit from EventTarget.

garykac commented 5 years ago

I'm not sure what situation that's trying to cover if Element > Node > EventTarget.

These glossary entries were written a long time ago and (1) things may have changed or (2) they may not have been written clearly. We should check with @domenic to see if can think of a situation that this trying to cover.

In any case, we should have a better (more formal) definition for this somewhere - a glossary entry isn't really good enough.

In any case, this spec is generated by bikeshed, so modifying the HTML will just be overwritten the next time the spec is generated. This change would need to be made to sections/glossary.txt and then run the build.py script.

NavidZ commented 5 years ago

Sure. Let's wait for @domenic before changing anything.

domenic commented 5 years ago

Well, "event target" is defined at https://w3c.github.io/uievents/#event-target not to be exactly equal to "any EventTarget instance". But, I can't really see anything it's getting at. Probably best to just delete that clause.