ludic.ui, ludic.i18n: frame_keeps and birth_leaks to 0 - :nth-child's a and b read once per argument, a border-image's miss its own function; typing, the dev dump, parsing, the pointer ring's making, Ln's counted line and the plural header declared

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:46:00 +03:00
parent 23d204b9fc
commit f8825dc55a
16 changed files with 67 additions and 23 deletions

View file

@ -77,7 +77,7 @@ function sel_pseudo_ok(ui_st: mut UiState, p: string, arg: string, n: UiNode) ->
if p == "checked" { return ui_attr_on(n, "checked") }
if p == "active" { return fr_active(ui_st, n) }
if p == "capturing" { return ui_st.ct_capture != "" and n.key == ui_st.ct_capture }
if p == "nth-child" { return sel_nth(arg, n.index + 1) }
if p == "nth-child" { return sel_nth(ui_st, arg, n.index + 1) }
@alloc_ok("only when a template is wrong: a broken screen, never a working one")
ui_err(ui_st, `:{p}: there is no such pseudo-class here`)
return false