[Rev 01] RFR: 8181775: JavaFX WebView does not calculate border-radius properly

Bhawesh Choudhary github.com+4208131+bhaweshkc at openjdk.java.net
Mon May 18 07:06:02 UTC 2020


> 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 incrementally with one additional commit since the last revision:

  Removed wildcard import statement

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/218/files
  - new: https://git.openjdk.java.net/jfx/pull/218/files/a742ba43..e7cb98fe

Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/218/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/218/webrev.00-01

  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/218.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/218/head:pull/218

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


More information about the openjfx-dev mailing list