File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4093
4093
to the nearest integer.
4094
4094
9. Set |computedLayout|'s [=computed plane layout/sourceLeftBytes=] to
4095
4095
the result of the integer division of
4096
- truncated |parsedRect|.{{DOMRectInit/x}} by |sampleWidthBytes|.
4096
+ truncated |parsedRect|.{{DOMRectInit/x}} by |sampleWidth|,
4097
+ multiplied by |sampleBytes|.
4097
4098
10. Set |computedLayout|'s [=computed plane layout/sourceWidthBytes=] to
4098
4099
the result of the integer division of
4099
- truncated |parsedRect|.{{DOMRectInit/width}} by |sampleWidthBytes|.
4100
+ truncated |parsedRect|.{{DOMRectInit/width}} by |sampleHeight|,
4101
+ multiplied by |sampleBytes|.
4100
4102
11. If |layout| is not `undefined`:
4101
4103
1. Let |planeLayout| be the {{PlaneLayout}} in |layout| at position
4102
4104
|planeIndex|.
You can’t perform that action at this time.
0 commit comments