Added Test to check caret visibility in `TextField` and dead space at beginning/end of text.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Merge branch 'openjdk:master' into 8318860.caretTest - Added Caret Visibility test Changes: https://git.openjdk.org/jfx/pull/2157/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2157&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8318860 Stats: 184 lines in 1 file changed: 184 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/2157.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2157/head:pull/2157 PR: https://git.openjdk.org/jfx/pull/2157
