Bug 29314 - Elements appear behind <video> when they should be in front sometimes
Summary: Elements appear behind <video> when they should be in front sometimes
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
Keywords: InRadar
Depends on:
Reported: 2009-09-16 14:40 PDT by Simon Fraser (smfr)
Modified: 2009-09-17 09:56 PDT (History)
0 users

See Also:

Patch, testcase, changelog (8.51 KB, patch)
2009-09-16 17:22 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Simpler patch (6.54 KB, patch)
2009-09-16 19:50 PDT, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2009-09-16 14:40:54 PDT
Certain configurations of content layer incorrectly with <video> when accelerated compositing is enabled. This is fallout from bug 27021.
Comment 1 Simon Fraser (smfr) 2009-09-16 14:41:19 PDT
Comment 2 Simon Fraser (smfr) 2009-09-16 17:22:03 PDT
Created attachment 39669 [details]
Patch, testcase, changelog
Comment 3 Simon Fraser (smfr) 2009-09-16 19:50:10 PDT
Created attachment 39677 [details]
Simpler patch
Comment 4 mitz 2009-09-17 09:28:25 PDT
Comment on attachment 39677 [details]
Simpler patch

> +    if (overlapMap && overlapMap->size()) {

This is better expressed as !overlapMap.isEmpty()
Comment 5 Simon Fraser (smfr) 2009-09-17 09:56:59 PDT