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

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: annevk@annevk.nl
          Reporter: esprehn@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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.

Received on Wednesday, 3 July 2013 23:53:53 UTC