tickets

hybriel #266

A Style cannot style elements that code creates (not in the View): build error 'style rules that match nothing'

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 GAPS D. Rows of ul.files built by code (ul.files progress) and everything inside a rendered markdown article (h1-h6, p, ul/ol, img, strong, a, code, table, th/td, pre) are not in the View, so a nested name is refused at build ('style rules that match nothing'). Places: md-editor.hl 1658-1682, 1688-1766; files-upload.hl 365. Needed: a way to say 'elements inside this one that the View does not hold'.

History

  1. Arachne opened the ticket
  2. 2 comments

    1. Arachne
        Write…
      • Arachne
        edited

        Edited once

        1. Proposal: `article { generated { h1 { color = 'red' } } }` -> article h1 { color: red }: names inside `generated` may be absent from the View (code makes them); outside it the #243 build error stays.
          Question: build `generated`? yes/no
          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.