mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e
This commit is contained in:
parent
81ca858678
commit
d6ba94ca28
2339 changed files with 89274 additions and 9328 deletions
|
@ -23,9 +23,9 @@ function consumeImageBitmap(image, t)
|
|||
|
||||
createImageBitmap(myCanvas).then(t.step_func_done(function(imageBitmap) {
|
||||
// Per spec, when transferFromImageBitmap happens, the transferred
|
||||
// ImageBitmap (|image| here) should be the intrinsic size of
|
||||
// ImageBitmap (|image| here) must determine the intrinsic size of
|
||||
// myCanvas, and hence myCanvas.width/height is ignored. Therefore,
|
||||
// this created |imageBitmap| should have the same size as the |image|.
|
||||
// |imageBitmap| should have the same size as the |image|.
|
||||
assert_equals(imageBitmap.width, width);
|
||||
assert_equals(imageBitmap.height, height);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue