Repository navigation
Make executing synthesized pinch zoom more similar to zoom - #8223
Conversation
|
This seems like a good solution to me, but I'm having a hard time understanding how the masking works, since it doesn't seem to actually check for the presence of Alt. |
798bde3 to
4955037
Compare
|
@jdm The masking was trickier than I expected, but I think the latest version properly checks for Alt. |
|
@bors-servo: r+ |
|
📌 Commit 4955037 has been approved by |
Make executing synthesized pinch zoom more similar to zoom Synthesized pinch zoom was removed in #8121 so that this combination of mouse wheel and key press can be handled by the page. I mistakenly re-implemented it #8215. In order to preserve synthesized pinch zoom, which is very useful for testing on desktop computers, have it work similarly to page zoom except with the ALT key pressed. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8223) <!-- Reviewable:end -->
There was a problem hiding this comment.
This is incorrect; it's equivalent to a wildcard. It binds to a new variable named _control_and_alt rather than comparing to the existing one.
|
@bors-servo r- |
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Synthesized pinch zoom was removed in servo#8121 so that this combination of mouse wheel and key press can be handled by the page. I mistakenly re-implemented it servo#8215. In order to preserve synthesized pinch zoom, which is very useful for testing on desktop computers, have it work similarly to page zoom except with the ALT key pressed.
4955037 to
f71f7ba
Compare
|
I think the latest version fixes the issue. Thanks again, @mbrubeck, for catching that. |
|
@bors-servo: r+ |
|
📌 Commit f71f7ba has been approved by |
Make executing synthesized pinch zoom more similar to zoom Synthesized pinch zoom was removed in #8121 so that this combination of mouse wheel and key press can be handled by the page. I mistakenly re-implemented it #8215. In order to preserve synthesized pinch zoom, which is very useful for testing on desktop computers, have it work similarly to page zoom except with the ALT key pressed. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8223) <!-- Reviewable:end -->
|
⛄ The build was interrupted to prioritize another pull request. |
|
⌛ Testing commit f71f7ba with merge 549f166... |
|
💔 Test failed - linux-rel |
Make executing synthesized pinch zoom more similar to zoom Synthesized pinch zoom was removed in #8121 so that this combination of mouse wheel and key press can be handled by the page. I mistakenly re-implemented it #8215. In order to preserve synthesized pinch zoom, which is very useful for testing on desktop computers, have it work similarly to page zoom except with the ALT key pressed. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8223) <!-- Reviewable:end -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Synthesized pinch zoom was removed in #8121 so that this combination of
mouse wheel and key press can be handled by the page. I mistakenly
re-implemented it #8215. In order to preserve synthesized pinch zoom,
which is very useful for testing on desktop computers, have it work
similarly to page zoom except with the ALT key pressed.