msHighContrastAdjust property

Gets or sets a value that indicates whether to override any Cascading Style Sheets (CSS) properties that would have been set in high contrast mode.

This property is read/write.

Internet Explorer 10

 

Syntax

HRESULT put_msHighContrastAdjust(
  [in]  DOMString val
);

HRESULT get_msHighContrastAdjust(
  [out] DOMString **ptr
);

Property values

Type: DOMString

String format

auto | none

CSS information

Applies ToAll elements
Mediavisual
Inheritedtrue
Initial Valueauto

Remarks

The IHTMLCSSStyleDeclaration2::msHighContrastAdjust property works with the -ms-high-contrast media feature.

Requirements

IDL

Mshtml.idl

See also

-ms-high-contrast media feature

 

 

Show: