On Thu, 21 Jan 2021 06:42:19 GMT, Robert Lichtenberger <rlich...@openjdk.org> wrote:
> By using the anchor location facility of PopupWindows we can avoid > miscalculation of the > menu's height entirely. > This fix also cleans up some documentation issues. > This fix introduces tests that check the correct positioning (test_position_) > test_position_withCSS reproduces the problem that is fixed with this patch. > The other test_position_ cases serve as "proof" that no regressions are > introduces. > They work before and after the fix is introduced. This pull request has now been integrated. Changeset: 6c1a0ca7 Author: Robert Lichtenberger <rlich...@openjdk.org> Committer: Kevin Rushforth <k...@openjdk.org> URL: https://git.openjdk.java.net/jfx/commit/6c1a0ca7 Stats: 192 lines in 3 files changed: 164 ins; 14 del; 14 mod 8228363: ContextMenu.show with side=TOP does not work the first time in the presence of CSS Reviewed-by: kcr, aghaisas ------------- PR: https://git.openjdk.java.net/jfx/pull/383