From de7ac72d5ad013fea0e77d66a32c661a95825cd5 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 22 Aug 2025 03:00:58 +0100 Subject: [PATCH] EventPhases: Fix "changed" typo Follows-up 68d8e9b046d17898aa27fdf229f690007d55bf96. --- EventPhases/explainer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventPhases/explainer.md b/EventPhases/explainer.md index b0e658de8..89e455ce3 100644 --- a/EventPhases/explainer.md +++ b/EventPhases/explainer.md @@ -49,7 +49,7 @@ Most code that manipulates the DOM, then calls any API that returns sizing infor foo.style.maxWidth = "75%"; // Explicitly yield to main thread here. scheduler.yield(); - // Because the DOM is "dirty" (has chaged since JS started + // Because the DOM is "dirty" (has changed since JS started // running), all frame-generation phases will execute: // style recalc -> layout -> paint -> composite. @@ -510,4 +510,4 @@ Many projects have influenced the thinking in this proposal, including: - [fastdom](https://github.com/wilsonpage/fastdom): Wilson Page's excellent batching approach with optional development-time enforcement (via "strict mode") - The Minecraft Scripting API's [Before Events](https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/systembeforeevents?view=minecraft-bedrock-experimental) and [After Events](https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/systemafterevents?view=minecraft-bedrock-experimental) which cleanly separate a read-only phase from the writable phase of extension execution. - - [The original DART DOM (via the `dart:html` package)](https://rm-dart.web.app/tutorials/web/low-level-html/add-elements), designed by Dart team members, as well as [Erik Arvidsson](https://www.linkedin.com/in/erik-arvidsson-88213a1/) and [the author of this proposal](https://infrequently.org/about-me/). Many solutions to the read/write phasing problem were considered as part of this effort. \ No newline at end of file + - [The original DART DOM (via the `dart:html` package)](https://rm-dart.web.app/tutorials/web/low-level-html/add-elements), designed by Dart team members, as well as [Erik Arvidsson](https://www.linkedin.com/in/erik-arvidsson-88213a1/) and [the author of this proposal](https://infrequently.org/about-me/). Many solutions to the read/write phasing problem were considered as part of this effort.