On Thu, 9 Jan 2025 18:59:39 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> `nth-child()` probably makes sense in the web world, but not in javafx, in my > opinion. > > Can you give an example of where it can be useful? > > I also recall how it was snuck in into original PR, which started with a > `:root`. Maybe we should pick #1 now and consider #4 as a possible future > enhancement? It's useful when you have a list of items that should have an alternating appearance. I've quite often used custom lists of items that are not ListViews, TableViews, etc. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1652#issuecomment-2581050838