Skip to main content

Bug Tracker

Side navigation

#9652 closed bug (duplicate)

Opened June 23, 2011 05:18AM UTC

Closed June 23, 2011 06:04AM UTC

Last modified June 23, 2011 02:12PM UTC

jquery 1.6 breaking background image on html element

Reported by: najamsk@gmail.com Owned by:
Priority: low Milestone: 1.next
Component: support Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

If I am including latest jQuery 1.6 build in the end of markup just before body element the background image applied to html element is not showing in opera if you go full screen background will appear and stay there until you refresh the page. If i include jquery 1.5 everything works fine in opera.

/***********************************************************/

Buggy version in opera

/***********************************************************/

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script>

<script>window.jQuery || document.write("<script src='assets/js/libs/jquery-1.6.1.min.js'>\\x3C/script>")</script>

/*************************************************/

Working version in opera

/*************************************************/

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>

<script>window.jQuery || document.write("<script src='assets/js/libs/jquery-1.5.1.min.js'>\\x3C/script>")</script>

Attachments (0)
Change History (5)

Changed June 23, 2011 05:32AM UTC by najamsk@gmail.com comment:1

Checkotu the test case at

http://jsfiddle.net/WcdZS/

Changed June 23, 2011 06:04AM UTC by addyosmani comment:2

component: unfiledsupport
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed June 23, 2011 06:04AM UTC by addyosmani comment:3

Duplicate of #9239.

Changed June 23, 2011 06:24AM UTC by najamsk@gmail.com comment:4

I think its different from the bug #9239 as I am playing with html element.

Changed June 23, 2011 02:12PM UTC by timmywil comment:5

Both the html and body element were affected. It is fixed in 1.6.2.