Skip to content

Commit b4c7ab8

Browse files
committed
minor updates
1 parent 4d0300a commit b4c7ab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

specs/IsPinchZoomEnabled.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
There are two types of zoom in Chromium: Browser Zoom and Pinch-Zoom:
44
- Browser zoom, referred to as “Page Zoom” or “Zoom” more generally, is what we get by using Ctrl + +(plus) or – (minus) or Ctrl + Mousewheel. This changes the size of a CSS pixel relative to a device independent pixel and so it will cause page layout to change. End developers can programmatically change browser Zoom properties including [IsZoomControlEnabled](https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2settings?view=webview2-1.0.774.44#get_iszoomcontrolenabled) and [ZoomFactor](https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2controller?view=webview2-1.0.774.44#get_zoomfactor). Setting ZoomFactor property causes the layout to change and enables scroll bar which lets users interact with the zoomed in content using mouse.
5-
- Pinch-zoom, referred to as “Page Scale” zoom, is performed as a post-rendering step, it scales the surface the web page is rendered onto by changing the page scale factor property. When user perfom a pinch zooming action, it does not change the layout but rather changes the viewport and clips the web content, the content outside of the viewport isn't visible onscreen and users can't reach this content using mouse.
5+
- Pinch-zoom, referred to as “Page Scale” zoom, is performed as a post-rendering step, it changes the page scale factor property and scales the surface the web page is rendered onto when user perfoms a pinch zooming action. It does not change the layout but rather changes the viewport and clips the web content, the content outside of the viewport isn't visible onscreen and users can't reach this content using mouse.
66

77
Currently, the first type of zoom control is supported in WebView2 and modifying it has no effect on page scale zoom.
88

0 commit comments

Comments
 (0)