Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9636 closed bug (duplicate)

Duplicate body removes real body's background in Opera

Reported by: porneL (@… Owned by:
Priority: high Milestone: 1.next
Component: support Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


When page uses background on both <html> and <body>, this code:

// We use our own, invisible, body
documentElement.insertBefore( body, documentElement.firstChild );

causes Opera 10.50 to remove the background.

This breaks spritecow.com.

Per HTML5 spec <body> can exist only as the second element in the <html> element, so jQuery-generated DOM is invalid.

Change History (3)

comment:1 Changed 12 years ago by anonymous

Oops, sorry — duplicate of #9420

comment:2 Changed 12 years ago by Timmy Willison

Component: unfiledsupport
Priority: undecidedhigh
Resolution: duplicate
Status: newclosed

comment:3 Changed 12 years ago by Timmy Willison

Duplicate of #9239.

Note: See TracTickets for help on using tickets.