Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The background shorthand property does not return an empty string when you view a webpage in Internet Explorer 9


View products that this article applies to.

Symptoms

You have a webpage in which you have specified the background-image, background-position, background-attachment, and background-repeat sub-properties. In this case, when you use Windows Internet Explorer 9 to browse the webpage, you notice that the value of the background shorthand property (style.background) reflects these four sub-properties instead of returning an empty string.�

Notes
  • This issue occurs in Quirks mode, in Strict mode, and in Internet Explorer 8 document mode.
  • The returned background shorthand property value is valid. This issue only affects code that depends on the presence of a non-empty style.background value to detect whether all background sub-properties are set.

↑ Back to the top


Cause

This issue occurs when all background sub-properties are set except the background-color sub-property.

↑ Back to the top


Resolution

Security update information

To resolve this problem, install the most recent cumulative security update for Windows Internet Explorer. To do this, visit the following Microsoft website: For more technical information about the most recent cumulative security update for Windows Internet Explorer, visit the following Microsoft website: Note This update was first included in security update 2530548 (MS11-050). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2530548 MS11-050 Cumulative security update for Internet Explorer: June 14, 2011

↑ Back to the top


More information

For more information, visit the following Microsoft website:

↑ Back to the top


Keywords: KB2565076, kbfix, kbhotfixserver, kbqfe, kbautohotfix

↑ Back to the top

Article Info
Article ID : 2565076
Revision : 1
Created on : 6/22/2011
Published on : 6/22/2011
Exists online : False
Views : 436