Skip to main content

Bug Tracker

Side navigation

#9823 closed bug (fixed)

Opened July 14, 2011 09:46AM UTC

Closed August 04, 2011 10:42PM UTC

Last modified August 24, 2011 05:40PM UTC

IE 8 crashes when using background-image on BODY in css

Reported by: cdgrit@hotmail.com Owned by: timmywil
Priority: blocker Milestone: 1.6.3
Component: support Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

IE 8 crashes when using background-image on the BODY in my css file.

Using version 1.6.2. When using version 1.6.1 the browser doesn't crash.

Attachments (0)
Change History (11)

Changed July 14, 2011 01:16PM UTC by timmywil comment:1

component: unfiledsupport
owner: → cdgrit@hotmail.com
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsfiddle.net that reproduces the issue experienced to help us assess your ticket.

Additionally, test against the jQuery (edge) version to ensure the issue still exists.

Changed July 29, 2011 07:44AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed July 31, 2011 10:08PM UTC by jelle@augusoft.nl comment:3

This is a regression; lines 1281-1282 in 1.6.1:

// Set background to avoid IE crashes when removing (#9028)

background: "none"

These lines were removed from 1.6.2, causing this crash. Reintroducing them after line 1296 in 1.6.2 solves the crash!

Changed July 31, 2011 10:09PM UTC by jelle@augusoft.nl comment:4

Lines 1281-1282 properly formatted (my bad):

  // Set background to avoid IE crashes when removing (#9028)
  background: "none"

Changed August 01, 2011 04:06PM UTC by john comment:5

milestone: None1.7
priority: lowblocker
resolution: invalid
status: closedreopened

Good catch, we'll tackle this.

Changed August 01, 2011 04:16PM UTC by john comment:6

milestone: 1.71.6.3

Changed August 01, 2011 05:32PM UTC by timmywil comment:7

status: reopenedpending

I have not been able to reproduce this and we have a test for this in the test suite. Is there a test case that causes the crash? Setting background: 'none' should have no effect on any existing body elements since we create a div if a body exists.

Changed August 04, 2011 10:35PM UTC by timmywil comment:8

owner: cdgrit@hotmail.comtimmywil
status: pendingassigned

From JorisDebonnet:

Go to http://fiddle.jshell.net/ZKPZq/6/ with IE8.

Right click in the result screen, and make it refresh.

Boom, crash.

Changed August 04, 2011 10:42PM UTC by timmywil comment:9

resolution: → fixed
status: assignedclosed

Add back the background: none setting to avoid any possible crashes in IE from the support testElement. Fixes #9823.

Changeset: 5c4a9cc001fcd803efa65ff95571c72cbdafbe69

Changed August 12, 2011 02:39PM UTC by timmywil comment:10

#10025 is a duplicate of this ticket.

Changed August 24, 2011 05:40PM UTC by timmywil comment:11

#10128 is a duplicate of this ticket.