Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 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:

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 (3)

comment:1 Changed 5 years ago by anonymous

Oops, sorry — duplicate of #9420

comment:2 Changed 5 years ago by timmywil

  • Component changed from unfiled to support
  • Priority changed from undecided to high
  • Resolution set to duplicate
  • Status changed from new to closed

comment:3 Changed 5 years ago by timmywil

Duplicate of #9239.

Note: See TracTickets for help on using tickets.