On Wed, 25 Aug 2021 23:20:37 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> Jose Pereda has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update cssref.html > > modules/javafx.graphics/src/main/java/com/sun/prism/es2/ES2Graphics.java line > 70: > >> 68: context.updateCompositeMode(CompositeMode.CLEAR); >> 69: Paint oldPaint = getPaint(); >> 70: setPaint(Color.TRANSPARENT); // any color will do... > > Is this change necessary? If so, then the comment is probably wrong. Yes, the change is required. As it was, when using `-fx-page-fill: transparent`, a black area is visible the first time the content is rendered (until an event triggers a new pass and clears it). You are right, the comment is not valid anymore, as only Transparent will work after this PR. I'll remove it ------------- PR: https://git.openjdk.java.net/jfx/pull/563