mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Normalize reftests
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
border:2px solid #000;
|
||||
height: 300px;
|
||||
}
|
||||
.img-1{
|
||||
display: inline-block;
|
||||
@ -36,6 +37,8 @@
|
||||
}
|
||||
body {
|
||||
font-family: Arial;
|
||||
line-height: 17px;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -2,11 +2,11 @@ Window: [800, 600]
|
||||
Rectangle: [0, 0, 800, 600] rgba(0,0,0,0)
|
||||
Opacity: 1
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 312, y: 8) > Vector(x: 310, y: 10) > Vector(x: 10, y: 10))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 312, y: 8) > Vector(x: 312, y: 368) > Vector(x: 310, y: 366) > Vector(x: 310, y: 10))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 312, y: 368) > Vector(x: 8, y: 368) > Vector(x: 10, y: 366) > Vector(x: 310, y: 366))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 8, y: 368) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 312, y: 8) > Vector(x: 312, y: 312) > Vector(x: 310, y: 310) > Vector(x: 310, y: 10))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 312, y: 312) > Vector(x: 8, y: 312) > Vector(x: 10, y: 310) > Vector(x: 310, y: 310))
|
||||
Shape: rgb(0,0,0) Path (Vector(x: 8, y: 312) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 310))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
||||
Text: rgb(0,0,0) normal normal 400 16px Arial
|
||||
[10, 26]: Le
|
||||
[32, 26]: Lorem
|
||||
@ -15,120 +15,120 @@ Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366
|
||||
[156, 26]: simplement
|
||||
[242, 26]: du
|
||||
[264, 26]: faux
|
||||
[10, 44]: texte
|
||||
[49, 44]: employé
|
||||
[114, 44]: dans
|
||||
[153, 44]: la
|
||||
[170, 44]: composition
|
||||
[260, 44]: et
|
||||
[278, 44]: la
|
||||
[10, 62]: mise
|
||||
[48, 62]: en
|
||||
[70, 62]: page
|
||||
[110, 62]: avant
|
||||
[154, 62]: impression.
|
||||
[240, 62]: Le
|
||||
[262, 62]: Lorem
|
||||
[10, 80]: Ipsum
|
||||
[58, 80]: est
|
||||
[84, 80]: le
|
||||
[101, 80]: faux
|
||||
[135, 80]: texte
|
||||
[174, 80]: standard
|
||||
[241, 80]: de
|
||||
[10, 98]: l'imprimerie
|
||||
[96, 98]: depuis
|
||||
[147, 98]: les
|
||||
[172, 98]: années
|
||||
[229, 98]: 1500,
|
||||
[10, 116]: quand
|
||||
[59, 116]: un
|
||||
[81, 116]: peintre
|
||||
[134, 116]: anonyme
|
||||
[205, 116]: assembla
|
||||
[10, 134]: ensemble
|
||||
[84, 134]: des
|
||||
[114, 134]: morceaux
|
||||
[189, 134]: de
|
||||
[211, 134]: texte
|
||||
[250, 134]: pour
|
||||
[10, 152]: réaliser
|
||||
[67, 152]: un
|
||||
[89, 152]: livre
|
||||
[123, 152]: spécimen
|
||||
[196, 152]: de
|
||||
[218, 152]: polices
|
||||
[272, 152]: de
|
||||
[10, 170]: texte.
|
||||
[54, 170]: Il
|
||||
[66, 170]: n'a
|
||||
[91, 170]: pas
|
||||
[122, 170]: fait
|
||||
[147, 170]: que
|
||||
[178, 170]: survivre
|
||||
[239, 170]: cinq
|
||||
[10, 188]: siècles,
|
||||
[68, 188]: mais
|
||||
[106, 188]: s'est
|
||||
[143, 188]: aussi
|
||||
[185, 188]: adapté
|
||||
[238, 188]: à
|
||||
[251, 188]: la
|
||||
[10, 206]: bureautique
|
||||
[99, 206]: informatique,
|
||||
[196, 206]: sans
|
||||
[234, 206]: que
|
||||
[265, 206]: son
|
||||
[10, 224]: contenu
|
||||
[71, 224]: n'en
|
||||
[106, 224]: soit
|
||||
[135, 224]: modifié.
|
||||
[195, 224]: Il
|
||||
[208, 224]: a
|
||||
[221, 224]: été
|
||||
[10, 242]: popularisé
|
||||
[88, 242]: dans
|
||||
[128, 242]: les
|
||||
[152, 242]: années
|
||||
[209, 242]: 1960
|
||||
[249, 242]: grâce
|
||||
[294, 242]: à
|
||||
[10, 260]: la
|
||||
[27, 260]: vente
|
||||
[70, 260]: de
|
||||
[93, 260]: feuilles
|
||||
[147, 260]: Letraset
|
||||
[209, 260]: contenant
|
||||
[284, 260]: des
|
||||
[10, 278]: passages
|
||||
[83, 278]: du
|
||||
[105, 278]: Lorem
|
||||
[155, 278]: Ipsum,
|
||||
[208, 278]: et,
|
||||
[230, 278]: plus
|
||||
[10, 296]: récemment,
|
||||
[99, 296]: par
|
||||
[126, 296]: son
|
||||
[157, 296]: inclusion
|
||||
[224, 296]: dans
|
||||
[262, 296]: des
|
||||
[10, 314]: applications
|
||||
[99, 314]: de
|
||||
[121, 314]: mise
|
||||
[160, 314]: en
|
||||
[182, 314]: page
|
||||
[222, 314]: de
|
||||
[244, 314]: texte,
|
||||
[10, 332]: comme
|
||||
[67, 332]: Aldus
|
||||
[111, 332]: PageMaker.
|
||||
[10, 42]: texte
|
||||
[49, 42]: employé
|
||||
[114, 42]: dans
|
||||
[153, 42]: la
|
||||
[170, 42]: composition
|
||||
[260, 42]: et
|
||||
[278, 42]: la
|
||||
[10, 59]: mise
|
||||
[48, 59]: en
|
||||
[70, 59]: page
|
||||
[110, 59]: avant
|
||||
[154, 59]: impression.
|
||||
[240, 59]: Le
|
||||
[262, 59]: Lorem
|
||||
[10, 76]: Ipsum
|
||||
[58, 76]: est
|
||||
[84, 76]: le
|
||||
[101, 76]: faux
|
||||
[135, 76]: texte
|
||||
[174, 76]: standard
|
||||
[241, 76]: de
|
||||
[10, 93]: l'imprimerie
|
||||
[96, 93]: depuis
|
||||
[147, 93]: les
|
||||
[172, 93]: années
|
||||
[229, 93]: 1500,
|
||||
[10, 110]: quand
|
||||
[59, 110]: un
|
||||
[81, 110]: peintre
|
||||
[134, 110]: anonyme
|
||||
[205, 110]: assembla
|
||||
[10, 126]: ensemble
|
||||
[84, 126]: des
|
||||
[114, 126]: morceaux
|
||||
[189, 126]: de
|
||||
[211, 126]: texte
|
||||
[250, 126]: pour
|
||||
[10, 143]: réaliser
|
||||
[67, 143]: un
|
||||
[89, 143]: livre
|
||||
[123, 143]: spécimen
|
||||
[196, 143]: de
|
||||
[218, 143]: polices
|
||||
[272, 143]: de
|
||||
[10, 160]: texte.
|
||||
[54, 160]: Il
|
||||
[66, 160]: n'a
|
||||
[91, 160]: pas
|
||||
[122, 160]: fait
|
||||
[147, 160]: que
|
||||
[178, 160]: survivre
|
||||
[239, 160]: cinq
|
||||
[10, 177]: siècles,
|
||||
[68, 177]: mais
|
||||
[106, 177]: s'est
|
||||
[143, 177]: aussi
|
||||
[185, 177]: adapté
|
||||
[238, 177]: à
|
||||
[251, 177]: la
|
||||
[10, 194]: bureautique
|
||||
[99, 194]: informatique,
|
||||
[196, 194]: sans
|
||||
[234, 194]: que
|
||||
[265, 194]: son
|
||||
[10, 210]: contenu
|
||||
[71, 210]: n'en
|
||||
[106, 210]: soit
|
||||
[135, 210]: modifié.
|
||||
[195, 210]: Il
|
||||
[208, 210]: a
|
||||
[221, 210]: été
|
||||
[10, 227]: popularisé
|
||||
[88, 227]: dans
|
||||
[128, 227]: les
|
||||
[152, 227]: années
|
||||
[209, 227]: 1960
|
||||
[249, 227]: grâce
|
||||
[294, 227]: à
|
||||
[10, 244]: la
|
||||
[27, 244]: vente
|
||||
[70, 244]: de
|
||||
[93, 244]: feuilles
|
||||
[147, 244]: Letraset
|
||||
[209, 244]: contenant
|
||||
[284, 244]: des
|
||||
[10, 261]: passages
|
||||
[83, 261]: du
|
||||
[105, 261]: Lorem
|
||||
[155, 261]: Ipsum,
|
||||
[208, 261]: et,
|
||||
[230, 261]: plus
|
||||
[10, 278]: récemment,
|
||||
[99, 278]: par
|
||||
[126, 278]: son
|
||||
[157, 278]: inclusion
|
||||
[224, 278]: dans
|
||||
[262, 278]: des
|
||||
[10, 294]: applications
|
||||
[99, 294]: de
|
||||
[121, 294]: mise
|
||||
[160, 294]: en
|
||||
[182, 294]: page
|
||||
[222, 294]: de
|
||||
[244, 294]: texte,
|
||||
[10, 311]: comme
|
||||
[67, 311]: Aldus
|
||||
[111, 311]: PageMaker.
|
||||
Transform: (91, 525) [-0.92, -0.39, 0.39, -0.92, 0, 0]
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
||||
Clip: Path (Vector(x: -140, y: 215) > Vector(x: 321, y: 215) > Vector(x: 321, y: 835) > Vector(x: -140, y: 835))
|
||||
Fill: rgb(255,0,0)
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
||||
Transform: (268, -94) [-0.92, -0.39, 0.39, -0.92, 0, 0]
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
||||
Clip: Path (Vector(x: -47, y: -402) > Vector(x: 582, y: -402) > Vector(x: 582, y: 215) > Vector(x: -47, y: 215))
|
||||
Fill: rgb(255,0,255)
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366))
|
||||
Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 310) > Vector(x: 10, y: 310))
|
@ -24,9 +24,12 @@
|
||||
}
|
||||
h1 {
|
||||
margin:0;
|
||||
line-height: 40px;
|
||||
}
|
||||
body {
|
||||
font-family: Arial;
|
||||
line-height: 17px;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user