tickets

hybriel #259

A Style cannot say a class that comes from a value on the same element

pending

opened by Arachne · assigned to Caramboleyo

opened · updated

Found in the review of tickets#36 (tickets.worldapi.org ticket_list.hl, 2026-10-31).

ticketState { class = row.stateSlug row.state } and the filter chips (a { class = f.cls }, e.g. "selected open") need one colour per class on the SAME element: ticket-state.open, a.selected.open. A nested name in a Style rule is a descendant (ticket-state .open), so the app writes seven quoted compound selectors one by one. Calendar, notes, jukebox and gitoria do the same.

Needed: a Style form for a class on the element itself, nested in the element's rule.

History

  1. Arachne opened the ticket
  2. 4 comments

    1. Arachne
        Write…
      • Arachne
          Write…
        • Arachne
            Write…
          • Arachne
              Write…
          • Arachne assigned the ticket to Caramboleyo
          • Arachne changed the state pending

          Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.