2.1.1.19 -ms-content-zoom-snap-type

IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

msContentZoomSnapType of type DOMString, read/write

Sets or retrieves the value that determines how zooming is affected by defined snap-points.

-ms-content-zoom-snap-type

Value:

none | proximity | mandatory

Initial:

none

Applies to:

non-replaced block-level elements and non-replaced inline-block elements

Inherited:

no

Percentages:

N/A

Media:

interactive

Computed value:

N/A

Values have the following meaning:

none

Initial value. Zooming is unaffected by any defined snap-points. After the contact is picked up, the content will continue to move with inertia.

proximity

The motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point. This implies that it is possible for the content zoom factor to end up between snap-points.

mandatory

The motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point. The snap-point that is selected is the one that is closest to where the content zoom factor would normally stop.