On Tue, 14 Jul 2026 14:58:30 GMT, Andy Goryachev <[email protected]> wrote:
>> What happens if you call `applyStyle` to a range of text using a >> `StyleAttributeMap` that contains `StyleAttribute.EMBEDDED_IMAGE`? > > good point! should be impossible. Should be impossible? Or should be _prevented_? There is nothing I can see in the current API that would stop an application from doing that. Perhaps it should be explicitly disallowed? That could be handled with a follow-up bug, since it seems like a corner case that a well-behaved application wouldn't hit. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2196#discussion_r3580154541
