RFR: 8181775: JavaFX WebView does not calculate border-radius properly [v4]
kcr at openjdk.java.net
Fri Aug 7 19:04:02 UTC 2020
On Thu, 23 Jul 2020 09:43:36 GMT, Bhawesh Choudhary <bchoudhary at openjdk.org> wrote:
>> root cause of issue is prism's fillRoundedRect() API doesn't allow rendering of rounded corner rectangle if four
>> corners have different radii. but same can be achieved via Path. to fix the issue, in GraphicsContextJava.cpp while
>> rendering fillRoundedRect, check if all four corners have same radii. if yes, use FILL_ROUNDED_RECT to draw it
>> otherwise construct a path from given rounded rect and draw it.
> Bhawesh Choudhary has updated the pull request with a new target base due to a merge or a rebase. The pull request now
> contains four commits:
> - Merge branch 'master' into 8181775
> - Removed wildcard import statement
> - Formatting (File Mode Attribute change)
> - 8181775: JavaFX WebView does not calculate border-radius properly
Looks good. I confirm that the test passes with the fix and fails without the fix.
Marked as reviewed by kcr (Lead).
More information about the openjfx-dev