SplitPaneSkin's measurement and layout calculations are not correct when pixel-snapping is enabled. There are quite a lot of mistakes that were made, so this PR is quite large. Here is a list of what's changed:
1. Fixed X/Y snapping and cumulative re-snapping. 2. Preserved fractional behavior when `snapToPixel` is false. 3. Fixed content insets, clips, dragging, resizing, and divider positioning. 4. Fixed bounded content-biased measurements. 5. Fixed proportional layout below minimum size. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - fix - tests Changes: https://git.openjdk.org/jfx/pull/2263/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2263&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8390607 Stats: 809 lines in 2 files changed: 561 ins; 41 del; 207 mod Patch: https://git.openjdk.org/jfx/pull/2263.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2263/head:pull/2263 PR: https://git.openjdk.org/jfx/pull/2263
