Bug 102381 - background-attachment:fixed changes position when flash object is below it.
Summary: background-attachment:fixed changes position when flash object is below it.
Status: RESOLVED DUPLICATE of bug 65793
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.8
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/honk1/jAJfc/1/
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 06:48 PST by jens buss
Modified: 2013-06-15 13:04 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jens buss 2012-11-15 06:48:15 PST
here is a fiddle: http://jsfiddle.net/honk1/jAJfc/1/
its a large scale background image and a fixed header. header and background have the same background image. header has fixed position to be visible during scrolling, so the header may cover the site content that scrolls below it. when the user scrolls and the content has a flash object in it, and it "hits" the header, the image inside the header gets repositioned / jumps to a weird position.
in the nightly build its even worth, i think the background-attachment: fixed; attribute isnt set yet..? i mean: its not working in the first place.
Comment 1 jens buss 2012-11-15 06:56:49 PST
of course, if no flash object is inside the content, the behaviour is as desired. same with mozilla/ie browsers.
Comment 2 jens buss 2012-11-15 07:47:53 PST
this also happens on the ipad, where no flash element is placed, but a video element.
the jsfiddle is a static html source code from a rendered site. the code gets generated by the longtail jwplayer and should be fine. on mobile devices the player generates a html5 video element.
if the video element hits the header, its background image moves, or whatever happens there..
Comment 3 Simon Fraser (smfr) 2012-11-16 13:09:28 PST
Seems like the background origin is being incorrectly computed when we render into a composited layer.
Comment 4 Casey Leask 2012-12-18 14:33:03 PST
I've got a similar problem with background-attachment: fixed and loading assets.
Set plugins in Chrome to 'Click to Play'.
Visit this fiddle. 
http://jsfiddle.net/CaseyLeask/3s2GE/
scroll the page, with the background working correctly.
Load the Flash Player instance.
Scroll the page again.
Comment 5 Casey Leask 2012-12-18 14:34:19 PST
Afterwards, highlight the text for dramatic effect.
Comment 6 Simon Fraser (smfr) 2013-06-15 13:04:05 PDT

*** This bug has been marked as a duplicate of bug 65793 ***