mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Revert unnecessary changes to canvas image drawing tests.
This commit is contained in:
parent
533853fdce
commit
ea3dc7169f
12 changed files with 22 additions and 33 deletions
|
@ -130814,11 +130814,11 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html": [
|
||||
"461f306d3083248243d7e5a4aac376be59adefd3",
|
||||
"4cf7e12dd343026fdca5c4ace01350611462c427",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_10.html": [
|
||||
"970d92ab928086b48dce22c2a873a0e5adde1355",
|
||||
"38bb230bfd728aa83b2fdc42399c636752c0566d",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_10_ref.html": [
|
||||
|
@ -130826,7 +130826,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_11.html": [
|
||||
"9faf39bcfb3ed5f86b78fabcb8566386ca519b6e",
|
||||
"1f2b7cc7812397f72027be9eac72c9c82d4b56ee",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_11_ref.html": [
|
||||
|
@ -130834,7 +130834,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_12.html": [
|
||||
"8f4e8952d6959d7ad3c32ca02a6b91eb29c9bc28",
|
||||
"aa347c02404b76ced3e655ac1761c28992aa028c",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_12_ref.html": [
|
||||
|
@ -130870,7 +130870,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_2.html": [
|
||||
"310d7bf19699754d6248599820e17850f0a8de2c",
|
||||
"0c897c0461b9d10b8a37d35c522f4e5a03bbc4e2",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_2_ref.html": [
|
||||
|
@ -130878,7 +130878,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_3.html": [
|
||||
"368a40dff341c6677a23c5ffeb4a69dc447360e6",
|
||||
"d432916c8acf40cf690798c1f674ad2eda0119aa",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_3_ref.html": [
|
||||
|
@ -130886,7 +130886,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_4.html": [
|
||||
"a0aa4f32aeb8b0b4178b0efa1446455387f281eb",
|
||||
"567cdc9438977c4d2e0eeccb939ec0665eb74465",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_4_ref.html": [
|
||||
|
@ -130894,7 +130894,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_5.html": [
|
||||
"7d92f1f10e7bc29564d7a8b8e49d42f552ad0782",
|
||||
"c0c2b5bc706030695e1353bd82ab5ab5bc5907a8",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_5_ref.html": [
|
||||
|
@ -130902,7 +130902,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_6.html": [
|
||||
"c60e69eaf1e92c6e2cd53936e52683054fbddd32",
|
||||
"46e38d00ab7281af843982fd78810ed2d038180a",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_6_ref.html": [
|
||||
|
@ -130910,7 +130910,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_7.html": [
|
||||
"d305b82f0329bbedd5e950287619e8a7dc926536",
|
||||
"7ec5d8007e4b2f823abb41724f7462de82ce8fa1",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_7_ref.html": [
|
||||
|
@ -130918,7 +130918,7 @@
|
|||
"support"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_8.html": [
|
||||
"00a95cb5ad9f256101ea65f296a201d7074ef9f5",
|
||||
"d96f3c4b998ff31694f59ba4026d893c9d5b7114",
|
||||
"reftest"
|
||||
],
|
||||
"2dcontext/drawing-images-to-the-canvas/drawimage_html_image_8_ref.html": [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_1_ref.html>
|
||||
<style>
|
||||
|
@ -27,6 +27,5 @@ sourceImg.onload = function() {
|
|||
// 2 arguments, the dest origin is 0,0
|
||||
// The source canvas will copied to the 0,0 position of the destination canvas
|
||||
destCtx.drawImage(sourceImg, 0, 0);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_10_ref.html>
|
||||
<style>
|
||||
|
@ -31,6 +31,5 @@ sourceImg.onload = function() {
|
|||
// as if the destination was an infinite canvas
|
||||
// whose rendering was clipped to the dimensions of the scratch bitmap.
|
||||
destCtx.drawImage(sourceImg, 0, 0, 512, 512, 0, 0, 256, 256);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_11_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// The source area is clipped to fit the source image
|
||||
// and the destination are is clipped in the same proportion
|
||||
destCtx.drawImage(sourceImg, 0, 0, 2048, 2048, 0, 0, 800, 800);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_12_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// The source area is clipped to fit the source image
|
||||
// and the destination area is clipped in the same proportion
|
||||
destCtx.drawImage(sourceImg, -25, -25, 50, 50, 0, 0, 50, 50);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_2_ref.html>
|
||||
<style>
|
||||
|
@ -28,6 +28,5 @@ sourceImg.onload = function() {
|
|||
// 2 arguments, the dest origin is not 0,0
|
||||
// The source image will copied to the 25, 25 position of the destination canvas
|
||||
destCtx.drawImage(sourceImg, 25, 25);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_3_ref.html>
|
||||
<style>
|
||||
|
@ -28,6 +28,5 @@ sourceImg.onload = function() {
|
|||
// The source canvas will copied to the 50, 50 position of the destination canvas and
|
||||
// on an area of 50x50 pixels
|
||||
destCtx.drawImage(sourceImg, 50, 50, 50, 50);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_4_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// The source canvas will copied to the 50,50 position of the destination canvas
|
||||
// and it will be shrunk to a and area of 16x16
|
||||
destCtx.drawImage(sourceImg, 50, 50, 16, 16);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_5_ref.html>
|
||||
<style>
|
||||
|
@ -28,6 +28,5 @@ sourceImg.onload = function() {
|
|||
// over an area of 64x32 pixels
|
||||
// The copied image will be distorted along the x axis
|
||||
destCtx.drawImage(sourceImg, 50, 50, 64, 32);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_6_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// An area of 32x32 pixels of the source image will be copied to
|
||||
// an area of 32x32 pixels of the destination canvas
|
||||
destCtx.drawImage(sourceImg, 0, 0, 32, 32, 0, 0, 32, 32);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_7_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// An area of 32x32 pixels of the source image will be copied to
|
||||
// an area of 32x32 pixels of the destination canvas in the position 32,32
|
||||
destCtx.drawImage(sourceImg, 0, 0, 32, 32, 32, 32, 32, 32);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel=match href=drawimage_html_image_8_ref.html>
|
||||
<style>
|
||||
|
@ -29,6 +29,5 @@ sourceImg.onload = function() {
|
|||
// The source area is clipped to fit the source image
|
||||
// and the destination are is clipped in the same proportion
|
||||
destCtx.drawImage(sourceImg, 32, 32, 32, 32, 0, 0, 32, 32);
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue