Root cause: a font change in `TextArea` did not propagate to the layout (in its 
`Text` node).  Another symptom was triggered by the `PrismLayout` reusing the 
stale layout cache containing runs with tabs.

This fix required a headful test since it needs the real text layout.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - fix and test

Changes: https://git.openjdk.org/jfx/pull/2352/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2352&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8395361
  Stats: 153 lines in 3 files changed: 152 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/2352.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2352/head:pull/2352

PR: https://git.openjdk.org/jfx/pull/2352

Reply via email to