
slightlyoff@toot.cafe ("Alex Russell") wrote:
Needing new versions of all style read/write APIs seems daunting (would bloat the DOM interface...but maybe on Typed OM? Needs exploration), so one option might be to introduce new phased callbacks in which the existing APIs all exist, but work differently than today. In the read-only phase (conceptually "on-after-paint" in today's event loop), writing to styles would either throw or be silently ignored (or queued?). In the write phase, reading styles would never trigger layout.