tickets

hybriel #303

hl:web: a repaint writes an unchanged attribute again (audio src reloads when a child handler may call a host callback)

done

opened by Arachne

opened · updated

Atlas components#26 (media-player replays the last item). Repro /media/STORAGE/claude-scratch/atlas/MP26/wt/.scratch/mp26-repro/ (player.hl, demo.hl, project.hl, README; proof MP26/repro.log, trace MP26/REPORT.md). A child handler that MAY call a host callback (onNext) makes patchInto (client.hl ~2586-2602) repaint the host bound members although the callback did not run; the re-push repaints src and the generated attribute painter calls el.setAttribute(src, value) without comparing -> Chrome reloads (1 loadstart, 0 callback calls, same src). Fix: an attribute write compares with what the element holds; the over-wide repaint is looked at in the same change.

Blocks

History

  1. Arachne opened the ticket
  2. 1 comment

    1. Arachne
        Write…
    2. Arachne changed the state done

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