-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathemail-acid-test.html
354 lines (295 loc) · 8.88 KB
/
email-acid-test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<title>Email Acid Test</title>
<style type="text/css" media="screen">
body {
margin: 0px;
padding: 0px;
color: #fff;
background: #006c98;
}
#BodyImposter {
color: #fff;
background: #930 url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/bgBody.gif") repeat-x;
background-color: #006c98;
font-family: Arial, Helvetica, sans-serif;
width: 100%;
margin: 0px;
padding: 0px;
text-align: center;
}
#BodyImposter dt {
font-size: 14px;
line-height: 1.5em;
font-weight: bold;
}
#BodyImposter dd,
#BodyImposter li,
#BodyImposter p,
#WidthHeight span {
font-size: 12px;
line-height: 1.5em;
}
#BodyImposter dd,
#BodyImposter dt {
margin: 0px;
padding: 0px;
}
#BodyImposter dl,
#BodyImposter ol,
#BodyImposter p,
#BodyImposter ul {
margin: 0px 0px 4px 0px;
padding: 10px;
color: #fff;
background: #3ac2fa;
}
#BodyImposter small {
font-size: 11px;
font-style: italic;
}
#BodyImposter ol li {
margin: 0px 0px 0px 20px;
padding: 0px;
}
#BodyImposter ul#BulletBg li {
background: url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/bullet.gif") no-repeat 0em 0.2em;
padding: 0px 0px 0px 20px;
margin: 0px;
list-style: none;
}
#BodyImposter ul#BulletListStyle li {
margin: 0px 0px 0px 22px;
padding: 0px;
list-style: url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/bullet.gif");
}
#BodyImposter a {
text-decoration: underline;
}
#BodyImposter a:link,
#BodyImposter a:visited {
color: #fafafa;
background: #099adb;
}
#ButtonBorders a:link,
#ButtonBorders a:visited {
color: #fff;
background: #02577d;
}
#BodyImposter a:hover {
text-decoration: none;
}
#BodyImposter a:active {
color: #000;
background: #ad5c33;
text-decoration: none;
}
#BodyImposter h1,
#BodyImposter h2,
#BodyImposter h3,
#BodyImposter h4,
#BodyImposter h5,
#BodyImposter h6 {
color: #fff;
background: #3ac2fa;
font-weight: bold;
line-height: 1em;
margin: 0px 0px 4px 0px;
padding: 10px;
}
#BodyImposter h1 {
font-size: 34px;
}
#BodyImposter h2 {
font-size: 22px;
}
#BodyImposter h3 {
font-size: 18px;
}
#BodyImposter h4 {
font-size: 16px;
}
#BodyImposter h5 {
font-size: 14px;
}
#BodyImposter h6 {
font-size: 12px;
}
#BodyImposter h1:hover,
#BodyImposter h2:hover,
#BodyImposter h3:hover,
#BodyImposter h4:hover,
#BodyImposter h5:hover,
#BodyImposter h6:hover,
#BodyImposter dl:hover,
#BodyImposter ol:hover,
#BodyImposter p:hover,
#BodyImposter ul:hover {
color: #fff;
background: #0f5c7c;
}
#Box {
width: 470px;
margin: 0px auto;
padding: 40px 20px;
text-align: left;
}
p#ButtonBorders {
clear: both;
color: #fff;
background: #005e88;
border-top: 10px solid #1e8fc1;
border-right: 1px dotted #1e8fc1;
border-bottom: 1px dashed #1e8fc1;
border-left: 1px dotted #1e8fc1;
}
p#ButtonBorders a#Arrow {
padding-right: 20px;
background: url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/arrow.gif") no-repeat right 2px;
}
p#ButtonBorders a {
color: #fff;
background-color: #fff;
}
p#ButtonBorders a#Arrow:hover {
background-position: right -38px;
}
#Floater {
width: 470px;
}
#Floater #Left {
float: left;
width: 279px;
height: 280px;
color: #fff;
background: #005e88;
margin-bottom: 4px;
}
#Floater #Right {
float: right;
width: 187px;
height: 280px;
color: #fff;
background: #005e88 url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/ornament.gif") no-repeat right bottom;
margin-bottom: 4px;
}
#Floater #Right p {
color: #fff;
background: transparent;
}
#FontInheritance {
font-family: Georgia, Times, serif;
}
#MarginPaddingOut {
padding: 20px;
}
#MarginPaddingOut #MarginPaddingIn {
padding: 15px;
color: #fff;
background: #009be0;
}
#MarginPaddingOut #MarginPaddingIn img {
background: url("http://cdn.rawgit.com/jamesmacwhite/Email-Client-Testing/master/acid/bgPhoto.gif") no-repeat;
padding: 15px;
}
span#SerifFont {
font-family: Georgia, Times, serif;
}
p#QuotedFontFamily {
font-family: "Trebuchet MS", serif;
}
#WidthHeight {
width: 470px;
height: 200px;
color: #fff;
background: #005277;
}
#WidthHeight span {
display: block;
padding: 10px;
}
#TestCanvas {
width: 300px;
height: 125px;
border: 1px solid #000000;
background-color: #FF0004;
}
#SvgTest {
width: 300px;
height: 200px;
}
</style>
</head>
<body>
<div id="BodyImposter">
<div id="Box">
<div id="FontInheritance">
<h1>H1 headline (34px/1em)</h1>
<h2>H2 headline (22px/1em)</h2>
<h3>H3 headline (18px/1em)</h3>
<h4>H4 headline (16px/1em)</h4>
<h5>H5 headline (14px/1em)</h5>
<h6>H6 headline (12px/1em)</h6>
</div>
<p>Paragraph (12px/1.5em) Lorem ipsum dolor sit amet, <a href="http://www.email-standards.org/">consectetuer adipiscing</a> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. <span id="SerifFont">(This is a serif font inside of a paragraph styled with a sans-serif font.)</span> <small>(This is <code>small</code> text.)</small></p>
<p id="QuotedFontFamily">This is a font (Trebuchet MS) which needs quotes because its label comprises two words.</p>
<ul id="BulletBg">
<li>background bullet eum iriure dolor in hendrerit in</li>
<li>vulputate velit esse molestie consequat, vel illum dolore eu</li>
<li>feugiat nulla facilisis at vero eros et accumsan et iusto odio</li>
</ul>
<ul id="BulletListStyle">
<li>list-style bullet eum iriure dolor in hendrerit in</li>
<li>vulputate velit esse molestie consequat, vel illum dolore eu</li>
<li>feugiat nulla facilisis at vero eros et accumsan et iusto odio</li>
</ul>
<ol>
<li>ordered list sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut laoreet</li>
<li>dolore magna aliquam erat volutpat. Ut wisi enim ad minim</li>
</ol>
<dl>
<dt>Definition list</dt>
<dd>lorem ipsum dolor sit amet, consectetuer adipiscing elit</dd>
<dd>sed diam nonummy nibh euismod tincidunt ut laoreet</dd>
<dd>dolore magna aliquam erat volutpat. Ut wisi enim ad minim</dd>
</dl>
<div id="Floater">
<div id="Left">
<div id="MarginPaddingOut">
<div id="MarginPaddingIn">
<img src="http://via.placeholder.com/180x180" width="180" height="180" alt="[photo: 180x180 placeholder image]" />
</div>
</div>
</div>
<div id="Right">
<p>Right float with a positioned background</p>
</div>
</div>
<p id="ButtonBorders"><a href="http://www.email-standards.org/" id="Arrow">Borders and an a:hover background image</a></p>
<div id="WidthHeight">
<span>Width = 470, height = 200</span>
</div>
<p>HTML5 Canvas test</p>
<canvas id="TestCanvas">
Your email client/browser does not support HTML5 Canvas :(
</canvas>
<p>HTML5 SVG test</p>
<svg id="SvgTest">
<polygon points="100,10 40,198 190,78 10,78 160,198"
style="fill:lime; stroke:purple; stroke-width:5; fill-rule:evenodd;" />
Your email client/browser does not support inline HTML5 SVG
</svg>
</div>
</div>
<p style="text-align:center;">
A <a href="https://github.com/jamesmacwhite/email-client-testing" target="_blank" style="color:#fffffe;">modified version</a> of the <a href="http://www.email-standards.org/acid-test" target="_blank" style="color:#fffffe;">Email Standards Project Acid test</a>
</p>
</body>
</html>