[Bug 22072] "current click count" deserves its own attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22072

--- Comment #3 from Gary Kacmarcik <garykac@google.com> ---
Having a named property for a specific purpose is better than storing data in a
generic catch-all 'data' (or 'detail' in this case) attribute.

Code that references something like 'event.clickCount' is self-documenting
whereas with 'event.detail' you have to think about what is stored there for
the particular event you're looking at.

So, a proper attribute name is clearly better, but perhaps it's too late to
update this.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 18 May 2013 01:27:59 UTC