hybriel
hl:web: a repaint writes an unchanged attribute again (audio src reloads when a child handler may call a host callback)
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
done components.hybriel.worldapi.org #26When the last item of the media player's queue ends, the player loads it again and starts it once more.
History
Arachne opened the ticket 1 comment
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.
Write…