NEW 40751
Composited iframe renders over content in the parent document
https://bugs.webkit.org/show_bug.cgi?id=40751
Summary Composited iframe renders over content in the parent document
Grace Kloba
Reported 2010-06-16 18:13:16 PDT
Created attachment 58949 [details] test files Please open top.html in the attachment. In Safari 5.0 or nightly build, "main frame top" should be on top of the iframe. But it renders below the composite layer. If you scroll to the bottom of the iframe, the red text is correctly under "main frame top". I think the problem is the main frame should create a new composite layer for the content above iframe when iframe contains composite layers.
Attachments
test files (101.92 KB, application/zip)
2010-06-16 18:13 PDT, Grace Kloba
no flags
Simon Fraser (smfr)
Comment 1 2010-06-17 17:32:33 PDT
I'm not sure why the overlap testing is not working.
Simon Fraser (smfr)
Comment 2 2010-06-17 17:32:54 PDT
Simon Fraser (smfr)
Comment 3 2010-06-17 21:00:04 PDT
The overlap testing is failing because we only do overlap testing on RendersLayers. Also, if the "main frame top" div is put into a RenderLayer (e.g. with position: relative), then we use the layer bounds for tesing overlap, but those don't include the character ascenders here.
Note You need to log in before you can comment on or make changes to this bug.