On Fri, 2 Jul 2021 11:01:56 GMT, Jose Pereda <jper...@openjdk.org> wrote:

> Currently, `WebPage` has already a public `setBackgroundColor()` method, but 
> the class is not public. Therefore, public API is needed in `WebView` to 
> allow developers access to it.
> 
> In line with the `fontSmoothingType` property, this PR provides public 
> support for setting the background color of a WebPage, by adding a `pageFill` 
> property, and a CSR is required.
> 
> The color for the background, that can be opaque, transparent or with any 
> level of opacity, can be set via code or via CSS using `-fx-page-fill`.
> 
> Unit tests and a system test are provided.

This pull request has now been integrated.

Changeset: f59a0573
Author:    Jose Pereda <jper...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/f59a0573ca329e4ded0eab79a9e1d84967f5ccc4
Stats:     483 lines in 6 files changed: 465 ins; 2 del; 16 mod

8090547: Allow for transparent backgrounds in WebView

Reviewed-by: kcr, arapte

-------------

PR: https://git.openjdk.java.net/jfx/pull/563

Reply via email to