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.
Oops, sorry — duplicate of #9420