-ms-scroll-limit property
Specifies values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.
This property is read/write.
Syntax
-ms-scroll-limit: -ms-scroll-limit-x-min -ms-scroll-limit-y-min -ms-scroll-limit-x-max -ms-scroll-limit-y-max
Property values
One or more of the following scroll limit values, in order, separated by spaces.
-ms-scroll-limit-x-min
Value of the -ms-scroll-limit-x-min property.-ms-scroll-limit-y-min
Value of the -ms-scroll-limit-y-min property.-ms-scroll-limit-x-max
Value of the -ms-scroll-limit-x-max property.-ms-scroll-limit-y-max
Value of the -ms-scroll-limit-y-max property.
CSS information
Applies To | non-replaced block-level elements and non-replaced inline-block elements |
Media | interactive |
Inherited | no |
Initial Value | (see individual properties) |
Remarks
This property has no effect on non-scrollable elements.
The specified behavior of the -ms-scroll-limit property is only applicable at a msContentZoomFactor of 1; the behavior of this property is undefined at other zoom factors.
This property requires Windows 8 or later.
See also
Windows apps using JavaScript Samples: HTML scrolling, panning and zooming sample
Internet Explorer Samples: Scrolling, panning, and zooming with touch input