RFR: 8181775: JavaFX WebView does not calculate border-radius properly [v4]
ajoseph at openjdk.java.net
Mon Aug 10 05:00:39 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
The fix and test looks good.
Marked as reviewed by ajoseph (Committer).
More information about the openjfx-dev