[Bug 22569] New: MouseEvent should have DOMString pseudoElement property like TransitionEvent

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

            Bug ID: 22569
           Summary: MouseEvent should have DOMString pseudoElement
                    property like TransitionEvent
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Just like with TransitionEvent we should support pseudoElement on MouseEvent so
when you click a ::before or ::after or ::backdrop the click event you get back
tells you which pseudo element was clicked.

See: http://www.w3.org/TR/css3-transitions/

This is important for <dialog> since it's quite common to want to dismiss the
dialog when the user clicks the ::backdrop but right now you can't know that
without getting the bounding client rects of the <dialog> and then looking to
see if the hit was inside there.

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