In desktop Chrome and Firefox, and iOS Safari, pinch-zoom gestures work on the diagram as expected. But in desktop Safari, the gesture seems to target the entire document rather than diagram.
I’m able to duplicate the issue using the documentation samples.