-
Notifications
You must be signed in to change notification settings - Fork 508
8181775: JavaFX WebView does not calculate border-radius properly #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back bhaweshkc! A progress list of the required criteria for merging this PR into |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix looks correct, but I want to test it. I left one minor comment on the test.
modules/javafx.web/src/test/java/test/javafx/scene/web/CSSTest.java
Outdated
Show resolved
Hide resolved
@bhaweshkc this pull request can not be integrated into git checkout 8181775
git fetch https://git.openjdk.java.net/jfx master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
In general, we recommend not to rebase your branch once you have opened the PR. Occasionally there might be a need, but the usual way to do it is to merge in the latest upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I confirm that the test passes with the fix and fails without the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix and test looks good.
@bhaweshkc This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 7 commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth, @arun-joseph) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@bhaweshkc |
/sponsor |
@kevinrushforth @bhaweshkc The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit f216c5f. |
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.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/218/head:pull/218
$ git checkout pull/218