Skip to content

Commit 667c795

Browse files
Djuffinpadenot
authored andcommitted
Fix a typo in Compute Layout and Allocation Size algorithm
1 parent c97f298 commit 667c795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4118,7 +4118,7 @@
41184118
multiplied by |sampleBytes|.
41194119
9. Set |computedLayout|'s [=computed plane layout/sourceWidthBytes=] to
41204120
the result of the integer division of
4121-
truncated |parsedRect|.{{DOMRectInit/width}} by |sampleHeight|,
4121+
truncated |parsedRect|.{{DOMRectInit/width}} by |sampleWidth|,
41224122
multiplied by |sampleBytes|.
41234123
10. If |layout| is not `undefined`:
41244124
1. Let |planeLayout| be the {{PlaneLayout}} in |layout| at position

0 commit comments

Comments
 (0)