Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Oops, sorry — duplicate of #9420