-ms-wrap-through property

Gets or sets a value that specifies how content should wrap around an exclusion element.

This property is read/write.

Internet Explorer 10

 

Syntax

-ms-wrap-through: wrap | none

Property values

One of the following values.

  • wrap
    The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element.

  • none
    The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element.

CSS information

Applies To block-level elements
Media visual
Inherited no
Initial Value wrap

Standards information

Remarks

You can use the -ms-wrap-through property to control the effect of exclusions—for instance, to cause one content block to wrap around an exclusion element and another to intersect the same exclusion element.

The wrapping context of a box is a collection of exclusion areas contributed by its associated exclusion boxes. When Windows Internet Explorer lays out a webpage, a box wraps its inline flow content in the area that corresponds to the subtraction of its wrapping context from its own content area. For more information about exclusion elements' impact on content flow, see the Definitions section of the CSS3 Exclusions specification.

See also

CSSStyleDeclaration

Internet Explorer 10 Guide for Developers: CSS Exclusions