Skip to main content

Bug Tracker

Side navigation

#9636 closed bug (duplicate)

Opened June 21, 2011 03:12PM UTC

Closed June 21, 2011 05:15PM UTC

Last modified June 21, 2011 05:15PM UTC

Duplicate body removes real body's background in Opera

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

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.

Attachments (0)
Change History (3)

Changed June 21, 2011 03:13PM UTC by anonymous comment:1

Oops, sorry — duplicate of #9420

Changed June 21, 2011 05:15PM UTC by timmywil comment:2

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

Changed June 21, 2011 05:15PM UTC by timmywil comment:3

Duplicate of #9239.