From 667c795ce308bcec5f900e3e3e299f355d852329 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Mon, 4 Mar 2024 19:21:13 -0800 Subject: [PATCH] Fix a typo in Compute Layout and Allocation Size algorithm --- index.src.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.src.html b/index.src.html index c27712cc..04d198fe 100644 --- a/index.src.html +++ b/index.src.html @@ -4118,7 +4118,7 @@ multiplied by |sampleBytes|. 9. Set |computedLayout|'s [=computed plane layout/sourceWidthBytes=] to the result of the integer division of - truncated |parsedRect|.{{DOMRectInit/width}} by |sampleHeight|, + truncated |parsedRect|.{{DOMRectInit/width}} by |sampleWidth|, multiplied by |sampleBytes|. 10. If |layout| is not `undefined`: 1. Let |planeLayout| be the {{PlaneLayout}} in |layout| at position