Skip to content

Commit

Permalink
Fix a typo in Compute Layout and Allocation Size algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Djuffin authored and padenot committed Mar 13, 2024
1 parent c97f298 commit 667c795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 667c795

Please sign in to comment.