What's New in Internet Explorer 8 (Script)

This page lists the new scripting features added in Windows Internet Explorer 8.

CSS Features

:after Pseudo-element

Defines generated content that appears after an element.

:before Pseudo-element

Defines generated content that appears before an element.

:focus Pseudo-class

Sets the style of an element when it gains focus.

:lang(C) Pseudo-class

In a document, selects the elements that are in a given language.

borderSpacing Property

Gets or sets the distance between the borders of adjoining cells in a table.

boxSizing Property

Gets or sets the box model to use for object sizing.

captionSide Property

Gets or sets where the caption of a table is located.

content Property

Gets or sets generated content to insert before or after an element.

counterIncrement Property

Gets or sets a list of counters to increment.

counterReset Property

Gets or sets a list of counters to create or reset to zero.

display Property

The display property now supports the full range of table layout values from the W3C Cascading Style Sheets Level 2.1 Specification and ruby styles from the CSS3 Ruby Module.

emptyCells Property

Determines whether to show or hide a cell without content.

msBlockProgression Property

Gets or sets the block progression and layout orientation.

orphans Property

Gets or sets the minimum number of lines of a paragraph that must appear at the bottom of a page.

outline Property

Gets or sets the color, style, and width of the outline frame.

outlineColor Property

Gets or sets the color of the outline frame.

outlineStyle Property

Gets or sets the style of the outline frame.

outlineWidth Property

Gets or sets the width of the outline frame.

pageBreakInside Property

Gets or sets a string indicating whether a page break is allowed to occur inside the object.

quotes Property

Gets or sets the pairs of strings to be used as quotes in generated content.

widows Property

Gets or sets the minimum number of lines of a paragraph that must appear at the top of a page.

Objects

Attr Constructor

Defines the properties and methods inherited by objects in the Attr Constructor prototype chain.

BehaviorUrnsCollection Constructor

Defines the properties and methods inherited by objects in the BehaviorUrnsCollection Constructor prototype chain.

BookmarkCollection Constructor

Defines the properties and methods inherited by objects in the BookmarkCollection Constructor prototype chain.

CompatibleInfo Constructor

Defines the properties and methods inherited by objects in the CompatibleInfo Constructor prototype chain.

CompatibleInfoCollection Constructor

Defines the properties and methods inherited by objects in the CompatibleInfoCollection Constructor prototype chain.

ControlRangeCollection Constructor

Defines the properties and methods inherited by objects in the ControlRangeCollection Constructor prototype chain.

CSSCurrentStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSCurrentStyleDeclaration Constructor prototype chain.

CSSRuleList Constructor

Defines the properties and methods inherited by objects in the CSSRuleList Constructor prototype chain.

CSSRuleStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSRuleStyleDeclaration Constructor prototype chain.

CSSStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSStyleDeclaration Constructor prototype chain.

CSSStyleRule Constructor

Defines the properties and methods inherited by objects in the CSSStyleRule Constructor prototype chain.

CSSStyleSheet Constructor

Defines the properties and methods inherited by objects in the CSSStyleSheet Constructor prototype chain.

DataTransfer Constructor

Defines the properties and methods inherited by objects in the DataTransfer Constructor prototype chain.

DOMImplementation Constructor

Defines the properties and methods inherited by objects in the DOMImplementation Constructor prototype chain.

Element Constructor

Defines the properties and methods inherited by objects in the Element Constructor prototype chain.

Event Constructor

Defines the properties and methods inherited by objects in the Event Constructor prototype chain.

History Constructor

Defines the properties and methods inherited by objects in the History Constructor prototype chain.

HTCBehavior Constructor

Defines the properties and methods inherited by objects in the HTCBehavior Constructor prototype chain.

HTCElementBehaviorDefaults Constructor

Defines the properties and methods inherited by objects in the HTCElementBehaviorDefaults Constructor prototype chain.

HTMLAnchorElement Constructor

Defines the properties and methods inherited by objects in the HTMLAnchorElement Constructor prototype chain.

HTMLAreaElement Constructor

Defines the properties and methods inherited by objects in the HTMLAreaElement Constructor prototype chain.

HTMLAreasCollection Constructor

Defines the properties and methods inherited by objects in the HTMLAreasCollection Constructor prototype chain.

HTMLBaseElement Constructor

Defines the properties and methods inherited by objects in the HTMLBaseElement Constructor prototype chain.

HTMLBaseFontElement Constructor

Defines the properties and methods inherited by objects in the HTMLBaseFontElement Constructor prototype chain.

HTMLBGSoundElement Constructor

Defines the properties and methods inherited by objects in the HTMLBGSoundElement Constructor prototype chain.

HTMLBlockElement Constructor

Defines the properties and methods inherited by objects in the HTMLBlockElement Constructor prototype chain.

HTMLBodyElement Constructor

Defines the properties and methods inherited by objects in the HTMLBodyElement Constructor prototype chain.

HTMLBRElement Constructor

Defines the properties and methods inherited by objects in the HTMLBRElement Constructor prototype chain.

HTMLButtonElement Constructor

Defines the properties and methods inherited by objects in the HTMLButtonElement Constructor prototype chain.

HTMLCollection Constructor

Defines the properties and methods inherited by objects in the HTMLCollection Constructor prototype chain.

HTMLCommentElement Constructor

Defines the properties and methods inherited by objects in the HTMLCommentElement Constructor prototype chain.

HTMLDDElement Constructor

Defines the properties and methods inherited by objects in the HTMLDDElement Constructor prototype chain.

HTMLDivElement Constructor

Defines the properties and methods inherited by objects in the HTMLDivElement Constructor prototype chain.

HTMLDListElement Constructor

Defines the properties and methods inherited by objects in the HTMLDListElement Constructor prototype chain.

HTMLDocument Constructor

Defines the properties and methods inherited by objects in the HTMLDocument Constructor prototype chain.

DocumentCompatibleInfo

Provides information about the compatibity mode specified by the Web page. If the Web page specifies multiple compatibility modes, they can be retrieved using documentCompatibleInfoCollection.

HTMLDTElement Constructor

Defines the properties and methods inherited by objects in the HTMLDTElement Constructor prototype chain.

HTMLEmbedElement Constructor

Defines the properties and methods inherited by objects in the HTMLEmbedElement Constructor prototype chain.

HTMLFieldSetElement Constructor

Defines the properties and methods inherited by objects in the HTMLFieldSetElement Constructor prototype chain.

HTMLFontElement Constructor

Defines the properties and methods inherited by objects in the HTMLFontElement Constructor prototype chain.

HTMLFormElement Constructor

Defines the properties and methods inherited by objects in the HTMLFormElement Constructor prototype chain.

HTMLFrameElement Constructor

Defines the properties and methods inherited by objects in the HTMLFrameElement Constructor prototype chain.

HTMLFrameSetElement Constructor

Defines the properties and methods inherited by objects in the HTMLFrameSetElement Constructor prototype chain.

HTMLGenericElement Constructor

Defines the properties and methods inherited by objects in the HTMLGenericElement Constructor prototype chain.

HTMLHeadElement Constructor

Defines the properties and methods inherited by objects in the HTMLHeadElement Constructor prototype chain.

HTMLHeadingElement Constructor

Defines the properties and methods inherited by objects in the HTMLHeadingElement Constructor prototype chain.

HTMLHRElement Constructor

Defines the properties and methods inherited by objects in the HTMLHRElement Constructor prototype chain.

HTMLHtmlElement Constructor

Defines the properties and methods inherited by objects in the HTMLHtmlElement Constructor prototype chain.

HTMLIFrameElement Constructor

Defines the properties and methods inherited by objects in the HTMLIFrameElement Constructor prototype chain.

HTMLImageElement Constructor

Defines the properties and methods inherited by objects in the HTMLImageElement Constructor prototype chain.

HTMLInputElement Constructor

Defines the properties and methods inherited by objects in the HTMLInputElement Constructor prototype chain.

HTMLIsIndexElement Constructor

Defines the properties and methods inherited by objects in the HTMLIsIndexElement Constructor prototype chain.

HTMLLabelElement Constructor

Defines the properties and methods inherited by objects in the HTMLLabelElement Constructor prototype chain.

HTMLLegendElement Constructor

Defines the properties and methods inherited by objects in the HTMLLegendElement Constructor prototype chain.

HTMLLIElement Constructor

Defines the properties and methods inherited by objects in the HTMLLIElement Constructor prototype chain.

HTMLLinkElement Constructor

Defines the properties and methods inherited by objects in the HTMLLinkElement Constructor prototype chain.

HTMLMapElement Constructor

Defines the properties and methods inherited by objects in the HTMLMapElement Constructor prototype chain.

HTMLMarqueeElement Constructor

Defines the properties and methods inherited by objects in the HTMLMarqueeElement Constructor prototype chain.

HTMLMetaElement Constructor

Defines the properties and methods inherited by objects in the HTMLMetaElement Constructor prototype chain.

HTMLModelessDialog Constructor

Defines the properties and methods inherited by objects in the HTMLModelessDialog Constructor prototype chain.

HTMLNamespaceInfo Constructor

Defines the properties and methods inherited by objects in the HTMLNamespaceInfo Constructor prototype chain.

HTMLNamespaceInfoCollection Constructor

Defines the properties and methods inherited by objects in the HTMLNamespaceInfoCollection Constructor prototype chain.

HTMLNextIdElement Constructor

Defines the properties and methods inherited by objects in the HTMLNextIdElement Constructor prototype chain.

HTMLObjectElement Constructor

Defines the properties and methods inherited by objects in the HTMLObjectElement Constructor prototype chain.

HTMLOListElement Constructor

Defines the properties and methods inherited by objects in the HTMLOListElement Constructor prototype chain.

HTMLOptionElement Constructor

Defines the properties and methods inherited by objects in the HTMLOptionElement Constructor prototype chain.

HTMLParagraphElement Constructor

Defines the properties and methods inherited by objects in the HTMLParagraphElement Constructor prototype chain.

HTMLParamElement Constructor

Defines the properties and methods inherited by objects in the HTMLParamElement Constructor prototype chain.

HTMLPhraseElement Constructor

Defines the properties and methods inherited by objects in the HTMLPhraseElement Constructor prototype chain.

HTMLPluginsCollection Constructor

Defines the properties and methods inherited by objects in the HTMLPluginsCollection Constructor prototype chain.

HTMLPopup Constructor

Defines the properties and methods inherited by objects in the HTMLPopup Constructor prototype chain.

HTMLScriptElement Constructor

Defines the properties and methods inherited by objects in the HTMLScriptElement Constructor prototype chain.

HTMLSelectElement Constructor

Defines the properties and methods inherited by objects in the HTMLSelectElement Constructor prototype chain.

HTMLSpanElement Constructor

Defines the properties and methods inherited by objects in the HTMLSpanElement Constructor prototype chain.

Storage

Represents the list of key/value pairs that have been assigned to a single storage area.

HTMLStyleElement Constructor

Defines the properties and methods inherited by objects in the HTMLStyleElement Constructor prototype chain.

HTMLTableCaptionElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableCaptionElement Constructor prototype chain.

HTMLTableCellElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableCellElement Constructor prototype chain.

HTMLTableColElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableColElement Constructor prototype chain.

HTMLTableElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableElement Constructor prototype chain.

HTMLTableRowElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableRowElement Constructor prototype chain.

HTMLTableSectionElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableSectionElement Constructor prototype chain.

HTMLTextAreaElement Constructor

Defines the properties and methods inherited by objects in the HTMLTextAreaElement Constructor prototype chain.

HTMLTitleElement Constructor

Defines the properties and methods inherited by objects in the HTMLTitleElement Constructor prototype chain.

HTMLUListElement Constructor

Defines the properties and methods inherited by objects in the HTMLUListElement Constructor prototype chain.

Location Constructor

Defines the properties and methods inherited by objects in the Location Constructor prototype chain.

NamedNodeMap Constructor

Defines the properties and methods inherited by objects in the NamedNodeMap Constructor prototype chain.

Navigator Constructor

Defines the properties and methods inherited by objects in the Navigator Constructor prototype chain.

NodeList Constructor

Defines the properties and methods inherited by objects in the NodeList Constructor prototype chain.

Screen Constructor

Defines the properties and methods inherited by objects in the Screen Constructor prototype chain.

Selection Constructor

Defines the properties and methods inherited by objects in the Selection Constructor prototype chain.

StaticNodeList Constructor

Defines the properties and methods inherited by objects in the StaticNodeList Constructor prototype chain.

Storage Constructor

Defines the properties and methods inherited by objects in the Storage Constructor prototype chain.

StyleSheetList Constructor

Defines the properties and methods inherited by objects in the StyleSheetList Constructor prototype chain.

StyleSheetPage Constructor

Defines the properties and methods inherited by objects in the StyleSheetPage Constructor prototype chain.

StyleSheetPageList Constructor

Defines the properties and methods inherited by objects in the StyleSheetPageList Constructor prototype chain.

Text Constructor

Defines the properties and methods inherited by objects in the Text Constructor prototype chain.

TextRange Constructor

Defines the properties and methods inherited by objects in the TextRange Constructor prototype chain.

TextRangeCollection Constructor

Defines the properties and methods inherited by objects in the TextRangeCollection Constructor prototype chain.

TextRectangle Constructor

Defines the properties and methods inherited by objects in the TextRectangle Constructor prototype chain.

TextRectangleList Constructor

Defines the properties and methods inherited by objects in the TextRectangleList Constructor prototype chain.

Window Constructor

Defines the properties and methods inherited by objects in the Window Constructor prototype chain.

XDomainRequest Constructor

Defines the properties and methods inherited by objects in the XDomainRequest Constructor prototype chain.

XDomainRequest

Represents a cross-domain Asynchronous JavaScript and XML (AJAX) request.

XMLHttpRequest Constructor

Defines the properties and methods inherited by objects in the XMLHttpRequest Constructor prototype chain.

Methods/Properties

abort Method

The abort method terminates a pending send.

AddService Method

User initiated action to add a service.

AddToFavoritesBar Method

Adds a URL to the Favorites Bar.

ariaActivedescendant Property

Gets or sets the currently active child element.

ariaBusy Property

Gets or sets a value indicating whether a live region is finished updating.

ariaChecked Property

Sets or retrieves the checked state of this element.

ariaControls Property

Gets or sets the list of elements that are controlled by the current element.

ariaDescribedby Property

Gets or sets a list of elements that describe the current object.

ariaDisabled Property

Sets or retrieves the disabled state of this element.

ariaExpanded Property

Sets or retrieves the expanded state of this element.

ariaFlowto Property

Gets or sets the recommended reading order of content.

ariaHaspopup Property

Sets or retrieves a value indicating whether this element may display a pop-up window.

ariaHidden Property

Sets or retrieves the hidden state of this element.

ariaInvalid Property

Sets or retrieves the error state of this element.

ariaLabelledby Property

Gets or sets a list of elements that provide a label for the current object.

ariaLevel Property

Sets or retrieves the level of this element.

ariaLive Property

Gets or sets how assistive technology should announce updates to live regions.

ariaMultiselectable Property

Sets or retrieves the multiple-selection state of this element.

ariaOwns Property

Gets or sets a list of child objects, including elements that are not direct descendants of the current object.

ariaPosinset Property

Sets or retrieves the current position of an item within a set.

ariaPressed Property

Sets or retrieves the pressed state of a button that can be toggled.

ariaReadonly Property

Sets or retrieves the read-only state of this element.

ariaRelevant Property

Gets or sets which changes to a live region are relevant.

ariaRequired Property

Sets or retrieves the form-completion requirement of this element.

ariaSecret Property

Sets or retrieves the secret state of this element.

ariaSelected Property

Sets or retrieves the selection state of this element.

ariaSetsize Property

Sets or retrieves the set size of this element.

ariaValuemax Property

Gets or sets the maximum value that a user can provide.

ariaValuemin Property

Gets or sets the minimum value that a user can provide.

ariaValuenow Property

Gets or sets the current value of the element.

attributes Property

Retrieves a collection of attributes of the object.

className Property

Elements with a class name of hslice are treated as a Web Slice. For more information, see Subscribing to Content with Web Slices.

clear Method

Removes all key/value pairs from the Web Storage area.

compatible Property

Retrieves the collection of user agents and versions declared in the X-UA-Compatible

constructor Property

Returns a reference to the constructor of an object.

ContentDiscoveryReset Method

Resets the list of feeds, search providers, and Web Slices associated with the page.

contentDocument Property

Retrieves the document object of the page or frame.

contentType Property

Gets the Content-Type property in the HTML request or response header.

data Property

Gets or sets the body of the onmessage request.

documentMode Property

Retrieves the document compatibility mode of the document.

font Property

This method gets or sets the font properties for the header and footer.

getItem Method

Retrieves the current value associated with the Web Storage key.

getPageMarginBottom Method

Returns size of bottom margin from a specified @page rule and page dimensions.

getPageMarginBottomImportant Method

Retrieves whether the bottom margin of the specified @page rule is marked as !important.

getPageMarginLeft Method

Returns size of left margin from a specified @page rule and page dimensions.

getPageMarginLeftImportant Method

Retrieves whether the left margin of the specified @page rule is marked as !important.

getPageMarginRight Method

Returns size of right margin from a specified @page rule and page dimensions.

getPageMarginRightImportant Method

Retrieves whether the right margin of the specified @page rule is marked as !important.

getPageMarginTop Method

Returns size of top margin from a specified @page rule and page dimensions.

getPageMarginTopImportant Method

Retrieves whether the top margin of the specified @page rule is marked as !important.

hasAttribute Method

Determines whether an attribute with the specified name exists.

hasAttributes Method

Determines whether one or more attributes exist for the object.

headerFooterFont Property

Sets or retrieves a combination of strings that define font properties of the header and footer.

InPrivateFilteringEnabled Method

Detects whether the user has enabled InPrivate Filtering.

isAlternate Property

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is an alternative style sheet.

isPrefAlternate Property

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet.

IsServiceInstalled Method

Check if a service is already installed.

item Method

Retrieves an object from a documentCompatibleInfoCollection collection.

key Method

Retrieves the key at the specified index in the collection.

length Property

Retrieves the length of the key/value list.

localStorage Property

Retrieves the Web Storage area specific to the current document.

maxConnectionsPerServer Property

Retrieves the maximum number of concurrent connections to a Web server.

msWriteProfilerMark Method

Writes a profiling event.

open Method

Creates a connection with a domain's server.

origin Property

Gets or sets the scheme, hostname, and port of the document that fired the onmessage event.

ownerElement Property

Retrieves the element that owns the attribute.

postMessage Method

Sends a cross-document message.

querySelector Method

Retrieves the first Document Object Model (DOM) element node from descendants of the starting element node that match any selector within the supplied selector string.

querySelectorAll Method

Retrieves all DOM element nodes from descendants of the starting element node that match any selector within the supplied selector strings.

rel Property

Values of bookmark, entry-content, and feedurl have special meaning inside a Web Slice. For more information, see Subscribing to Content with Web Slices.

remainingSpace Property

Retrieves the remaining memory space, in bytes, for the storage object.

removeItem Method

Deletes a key/value pair from the Web Storage collection.

responseText Property

Contains the body of the response returned by the server.

role Property

Sets or retrieves the role for this element.

send Method

Transmits a data string to the server for processing.

sessionStorage Property

Retrieves the Web Storage area for the session.

setItem Method

Sets a key/value pair.

source Property

Retrieves the source window object of the onmessage event.

systemXDPI Property

Retrieves the number of horizontal dots per inch (dpi) of display resolution at normal zoom level.

systemYDPI Property

Retrieves the number of vertical dpi of display resolution at normal zoom level.

timeout Property

Gets or sets the value of the timeout property.

timeout Property

Gets or sets the time-out value.

toStaticHTML Method

Removes dynamic HTML elements and attributes from an HTML fragment.

updateSettings Method

Allows updating the print settings for the page.

url Property

Gets or sets the fully qualified URL of the document that fired the event.

url Property

Sets or retrieves the URL property that will be loaded after the specified time has elapsed.

userAgent Property

Retrieves the User Agent.

version Property

Retrieves the version vector as a string.

XDomainRequest Property

Instantiates the XDomainRequest object for the window.

Events

onerror

Raised when there is an error that prevents the completion of the cross-domain request.

onhashchange

Raised when there are changes to the portion of a URL that follows the number sign (#).

onload

Raised when the object has been completely received from the server.

onmessage

Fires when the user sends a cross-document message with postMessage.

onoffline

Raised when Internet Explorer is working offline.

ononline

Raised when Internet Explorer is working online.

onprogress

Raised when the browser starts receiving data from the server.

onstorage

Fires when a Web Storage area is updated.

onstoragecommit

Fires when a local Web Storage area is written to disk.

ontimeout

Raised when there is an error that prevents the completion of the request.