chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

why SK_AlphaOPAQUE will always be returned for windowed browsers. SK_ColorTRANSPARENT may be returned for windowless browsers to enable transparency? #3663

Closed EndoSakura closed 3 months ago

EndoSakura commented 3 months ago

Our project needs to set a transparent background color for web pages with windows, but we found that cef does not support it.

I found this commit

But there is no reason written in the commit。

magreenblatt commented 3 months ago

The related code comment says "Windowed browser colors must be fully opaque."

See #2315