2.1.1.18 -ms-content-zoom-snap-points

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

msContentZoomSnapPoints of type DOMString, read/write

Sets or retrieves the values that determine where zoom snap-points are located.

-ms-content-zoom-snap-points

Value:

snapInterval(<start zoomfactors>, <step zoomfactors>) | snapList(<list zoomfactors>)

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:

snapInterval(<start zoomfactors>, <step zoomfactors>)

Specifies where the snap-points will be placed.

  • <start zoomfactor> specifies where the first snap-point will be placed. This value is a number followed by a percent sign (%).

  • <step zoomfactor> specifies the distance between subsequent snap-points, both zoomed in and zoomed out from the initial snap-point. This value is a number followed by a percent sign (%).

snapList(<list zoomfactors>)

Specifies the position of individual snap-points as a comma-separated list of zoom factors (expressed as a number followed by a percent sign (%)).

  • If any value specified in <list zoomfactors> is less than that specified by the -ms-content-zoom-limit-min property, the value of -ms-content-zoom-limit-min is used.

  • If any value specified in <list zoomfactors> is greater than that specified by the -ms-content-zoom-limit-max property, the value of -ms-content-zoom-limit-max is used.