Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement auxclick events #25181
Open
Implement auxclick events #25181
Labels
Projects
Comments
|
This needs port-specific code changes to make sure UI clicks are actually sent for non-primary buttons. ports/glutin currently has a special case for just servo/ports/glutin/headed_window.rs Line 347 in 85ad53c |
|
So looking at the code here: servo/ports/glutin/headed_window.rs Line 332 in 85ad53c It looks like it gets either left or right buttons and just emits left only. Would more buttons matter like a middle mouse button? |
|
Yes, we would want to capture any mouse button input. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered this because various tests under WPT html/webappapis/scripting want to try every single global event handler to see if on* is connected to addEventListener(*) in the appropriate way; this is one of four missing ones.
Auxclick is just like click, but for buttons that aren't the primary one. https://w3c.github.io/uievents/#event-type-auxclick