We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9e353 commit 51ee334Copy full SHA for 51ee334
1 file changed
index.src.html
@@ -4093,10 +4093,12 @@
4093
to the nearest integer.
4094
9. Set |computedLayout|'s [=computed plane layout/sourceLeftBytes=] to
4095
the result of the integer division of
4096
- truncated |parsedRect|.{{DOMRectInit/x}} by |sampleWidthBytes|.
+ truncated |parsedRect|.{{DOMRectInit/x}} by |sampleWidth|,
4097
+ multiplied by |sampleBytes|.
4098
10. Set |computedLayout|'s [=computed plane layout/sourceWidthBytes=] to
4099
- truncated |parsedRect|.{{DOMRectInit/width}} by |sampleWidthBytes|.
4100
+ truncated |parsedRect|.{{DOMRectInit/width}} by |sampleHeight|,
4101
4102
11. If |layout| is not `undefined`:
4103
1. Let |planeLayout| be the {{PlaneLayout}} in |layout| at position
4104
|planeIndex|.
0 commit comments