Josh Matthews
Josh Matthews
That being said, it looks like we're mishandling the Other case in https://github.com/servo/servo/blob/cb5f47e3661a6b6800f633c2c5a013682ab2a191/components/constellation/constellation.rs#L2906, so the `buttons` DOM event value won't be correct.
https://github.com/servo/servo/blob/cb5f47e3661a6b6800f633c2c5a013682ab2a191/components/shared/embedder/input_events.rs#L185 looks like the code responsible for obtaining a value for the `button` property. That would be the wrong layer for handling things like "subtract 5" from my point of...
How did you obtain these measurements? How can other developers reproduce them?
Any iterator that is only used to answer some question about the tree without performing any mutations or invoking content code is a possible optimization target for changes like #40776....
This happened again in https://github.com/web-platform-tests/wpt/pull/55121
>The Uncaught exception at :18:48: TypeError: ({}) does not refer to a JS script error doesn't happen on Firefox (everything else is similar). This is just an error from our...
Looking at the event handlers attached to the canvas element, clicking would probably work if we supported the `pointerdown` event (#38435).
For movement, based on https://github.com/emilk/egui/blob/2115ca941be9ca52e70468ec7638d62fd1da6adf/crates/eframe/src/web/events.rs#L629 I would start by investigating whether the mousemove event Servo dispatches has clientX and clientY values that make sense.
Can you reproduce the same issue in https://github.com/linebender/resvg/blob/main/crates/resvg/examples/minimal.rs ? If so, we should file this issue in the resvg repo.