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

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22072

            Bug ID: 22072
           Summary: "current click count" deserves its own attribute
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM3 Events
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

In 5.2.3 Mouse Event Types:
http://www.w3.org/TR/DOM-Level-3-Events/#events-mouseevents

The last paragraph of this section states:

"Implementations must maintain the current click count when generating mouse
events. This must be a non-negative integer indicating the number of
consecutive clicks of a pointing device button within a specific time. The
delay after which the count resets is specific to the environment
configuration."

Later on, the spec indicates that this should be stored in UIEvent.detail.

If nothing else, there should be more information in 5.2.3 about where/how the
click count is stored/used.

But why isn't this stored in a proper attribute rather than stuffed away in a
generic 'detail' attribute?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.