mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Beging implementing reftests
This commit is contained in:
37
tests/reftests/transform/translate.txt
Normal file
37
tests/reftests/transform/translate.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
Window: [800, 600]
|
||||
Rectangle: [0, 0, 800, 600] rgba(0,0,0,0)
|
||||
Opacity: 1
|
||||
Clip: Path (Vector(x: 8, y: 108) > Vector(x: 699, y: 108) > Vector(x: 699, y: 207) > Vector(x: 8, y: 207))
|
||||
Fill: rgb(205,92,92)
|
||||
Text: rgb(0,0,0) normal normal 400 16px Times New Roman
|
||||
[18, 148]: First
|
||||
[51, 148]: level
|
||||
[86, 148]: content
|
||||
Text: rgb(0,0,0) normal normal 400 16px Times New Roman
|
||||
[608, 148]: ,
|
||||
[616, 148]: ending
|
||||
[664, 148]: first
|
||||
Transform: (373, 157) [1, 0, 0, 1, 125, 0]
|
||||
Clip: Path (Vector(x: 138, y: 118) > Vector(x: 608, y: 118) > Vector(x: 608, y: 197) > Vector(x: 138, y: 197))
|
||||
Fill: rgb(143,188,143)
|
||||
Shape: rgb(255,0,0) Path (Vector(x: 138, y: 118) > Vector(x: 608, y: 118) > Vector(x: 598, y: 128) > Vector(x: 148, y: 128))
|
||||
Shape: rgb(255,0,0) Path (Vector(x: 608, y: 118) > Vector(x: 608, y: 197) > Vector(x: 598, y: 187) > Vector(x: 598, y: 128))
|
||||
Shape: rgb(255,0,0) Path (Vector(x: 608, y: 197) > Vector(x: 138, y: 197) > Vector(x: 148, y: 187) > Vector(x: 598, y: 187))
|
||||
Shape: rgb(255,0,0) Path (Vector(x: 138, y: 197) > Vector(x: 138, y: 118) > Vector(x: 148, y: 128) > Vector(x: 148, y: 187))
|
||||
Text: rgb(0,0,0) normal normal 400 16px Times New Roman
|
||||
[158, 148]: with
|
||||
[190, 148]: second
|
||||
[238, 148]: level
|
||||
[274, 148]: content
|
||||
Text: rgb(0,0,0) normal normal 400 16px Times New Roman
|
||||
[488, 148]: ,
|
||||
[496, 148]: ending
|
||||
[544, 148]: second
|
||||
Transform: (425, 188) [1, 0, 0, 1, 100, -25]
|
||||
Clip: Path (Vector(x: 325, y: 138) > Vector(x: 488, y: 138) > Vector(x: 488, y: 177) > Vector(x: 325, y: 177))
|
||||
Fill: rgb(95,158,160)
|
||||
Text: rgb(0,0,0) normal normal 400 16px Times New Roman
|
||||
[335, 148]: and
|
||||
[362, 148]: third
|
||||
[396, 148]: level
|
||||
[431, 148]: content
|
||||
Reference in New Issue
Block a user