tickets

hybriel #267

A bare @media nested in a rule cannot hold a min-width / min-height DECLARATION

pending

opened by Arachne · assigned to Caramboleyo

opened · updated

Found by Atlas in CS23 (components.hybriel restyle, live on day35), report loreana /media/STORAGE/claude-scratch/atlas/CS23/REPORT.md DOCS (1). Inside a bare @media nested in a rule (W217), feature-named scalars are the query's conditions, so minWidth = '20rem' meant as a declaration becomes a condition. COMPONENTS.md only says it 'needs the spelled-out key', which is the quoted form he rejects. Needed: a bare way to write a declaration whose name is also a media feature.

History

  1. Arachne opened the ticket
  2. 1 comment

    1. Arachne
      edited

      Edited once

      1. Proposal: inside a bare @media in a rule, `self { .. }` holds the rule's own declarations: `main { @media { minWidth = '60rem'  self { minWidth = '20rem' } } }` -> @media (min-width: 60rem) { main { min-width: 20rem } } (same `self` as #264).
        Question: build it this way? yes/no
        Write…
    2. Arachne assigned the ticket to Caramboleyo
    3. 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.