commit | e933bc3122763a917609d711ad6b7004fd805b88 | [log] [tgz] |
---|---|---|
author | Philip Rogers <pdr@chromium.org> | Wed Jan 05 04:02:38 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 05 04:02:38 2022 |
tree | 50309fc8912c9f92629e540c7e70523055bac242 | |
parent | 2f28807986689bdcfc589bbe5178758bbb16ae04 [diff] |
Fix the fundamental compositing bug for video Compositing should not affect the paint order of video. This patch changes LayoutMedia to not force a PaintLayer, which caused videos to draw after non-stacked siblings. PaintLayer is now primarily used for stacking contexts. A PaintLayer was previously required to support accelerated videos. CompositeAfterPaint changed the compositing algorithm to work based on display items and property trees, rather than PaintLayer, which lets us fix this longstanding bug. The following new WPT test demonstrates the progression: wpt/css/CSS2/normal-flow/video-paint-order.html Bug: 370604 Change-Id: Ic9348c4c5b5357b0a920943894be641c3f4928f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3364406 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#955549}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.