forked from WebPlatformTest/HTML5test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
282 lines (235 loc) · 14.1 KB
/
about.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
<!DOCTYPE html>
<!--
Copyright (c) 2010-2012 Niels Leenheer
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<html>
<head>
<title data-i18n>The HTML5 test - How well does your browser support HTML5?</title>
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Alfa+Slab+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css" type="text/css">
<script src='/translation.js' type='text/javascript'></script>
<script src='/scripts/template.js' type='text/javascript'></script>
<link rel="icon" href="/images/icon.png">
<link rel="apple-touch-icon" href="/images/button.png">
</head>
<body>
<div class='header'>
<h1 data-i18n>The HTML5 test <em>– how well does your browser support HTML5?</em></h1>
<ul>
<li><a href='/index.html' data-i18n>Your browser</a></li>
<li><a href='/results/desktop.html' data-i18n>Other<span> browser</span>s</a></li>
<li><a href='/compare/browser/index.html' data-i18n>Compare</a></li>
<li class='right selected'><a href='/about.html' data-i18n>About<span> the test</span></a></li>
</ul>
</div>
<div class='page'>
<div class='paper'>
<ul>
<li class='selected'><a href='about.html' data-i18n>Frequently asked questions</a></li>
<li><a href='donate.html' data-i18n>Donate</a></li>
</ul>
<div>
<h2>Specifications</h2>
<h3>The HTML5 specification isn't finished yet!</h3>
<div class='explaination'>
True. Whenever the specification is updated, we also make sure the test is updated. If features are removed
from the specification we remove them from our tests and new tests are created for additions to the specification.
</div>
<h3>Why do you include specifications that are not part of HTML5?</h3>
<div class='explaination'>
<p>
HTML5 means different things to different people. You could argue that HTML5 only includes features that are
defined in the W3C HTML5 specification. Or you could argue that it includes every specification, draft or
experimental feature that is added to browsers in the last couple of years. We decided to take the middle
ground and split the test into three parts: the official HTML5 specification, specifications that are related
to HTML5 and some experimental new features that are extensions of HTML5.
</p>
<p>
Many of the related specifications were at one time part of HTML5. During the development of the specification
they were moved to separate specifications.
</p>
</div>
<h3>But WebGL isn't even a W3C specification!</h3>
<div class='explaination'>
The W3C isn't the only organization that creates open specifications for the web. The WebGL specification is
published by Kronos, the same group that is also responsible for OpenGL. WebGL is related to HTML5 though and
listed as one of the HTML5 technologies on the W3C HTML5 logo page. The W3C HTML5 specification allows the
canvas element to be extended by new drawing methods and WebGL is one of them.
</div>
<h3>Why do you test for Chrome's Web Audio API, but not Mozilla's Audio Data API?</h3>
<div class='explaination'>
The Web Audio API is an official proposal submitted to the W3C Audio Working Group and may end up being an official audio
specification. The Audio Data API has been deprecated by Mozilla and may not be supported in future releases.
</div>
<h3>Why do you test for Web SQL?</h3>
<div class='explaination'>
The Web SQL specification has been deprecated and replaced by the IndexedDB specification. It is however
still commonly used on mobile phones and at least three vendors have shipped desktop browsers supporting Web SQL. We've decided to include
this specification, but make it a special case. Web SQL is worth 5 points, but only if IndexedDB is not supported.
IndexedDB is worth 10 points. If a browser supports both, only 10 points are awarded. This way browsers
that only included IndexedDB are not penalized, but browsers that only support Web SQL do get some points.
</div>
<hr>
<h2>Scoring</h2>
<h3>What is the maximum number of points you can score?</h3>
<div class='explaination'>
If a browser passes all tests it would receive the maximum score of 500 points and 15 bonus points. Previous
versions of the HTML5test had less tests and therefore also a lower maximum score, such as 160, 300, 450 and 475 points.
In the future we will probably add even more tests which would also mean we will raise the maximum number of
points.
</div>
<h3>What are bonus points?</h3>
<div class='explaination'>
HTML5 defines an <code>audio</code> and <code>video</code> element, which allows the browser to play media files. The HTML5 specification
does not define a required codec though. So for each common codec that is supported we award bonus points. Similarly
we give bonus points for SVG and MathML support. Bonus points are counted separately and do not count towards
the maximum of 500 points.
</div>
<h3>The scoring seems arbitrary, who decides how many points are awarded?</h3>
<div class='explaination'>
We decided to award points for each feature depending on how important that feature is for web developers
and how difficult it is to implement that feature. A small and simple feature would be worth less points than a
large and complicated feature. We think this is the most honest way to grade browsers, because otherwise a browser
that only supports the small and simple features would score as high or higher than a browser that went the
extra mile and decided to tackle the big features. But in the end it is based on personal preference,
but I doubt there is a truly objective alternative.
</div>
<hr>
<h2>Reporting</h2>
<h3>Can my browser be included on the 'other browser' and 'compare' pages?</h3>
<div class='explaination'>
<p>
We would love to add new browsers, but not all browsers are eligible. First of all we only accept browsers that
are publicly available, either in beta form or a final release. We do not accept scores for internal development builds.
Secondly we only accept browsers that are available in English. We want to check browsers before including them and
unfortunately we do not speak Chinese, Japanese, Korean or Russian. And finally we only accept browsers which have a
unique score. There are many browsers that are forks or modified versions of Chromium or Firefox. Similarly there
are many browser that embed Internet Explorer or Webkit as provided by the operating system. These browser
do not qualify. For comparisons, simply choose the original browser on which the browser was based instead.
</p>
<p>
We retain the right to make exceptions to any of the rules above and to remove or refuse any browser we deem
necessary.
</p>
</div>
<h3>What happens when a browser cheats?</h3>
<div class='explaination'>
<p>
We cannot distinguish between a browser that supports a particular feature and a browser that lies about supporting
that feature. The only way do deal with these situations it to manually confirm the test results. And if a browser
is found to be overly confidant about claiming support for certain features we can put that browser on a blacklist.
That means that that even though the browser claims to support a particular feature, we ignore what the browser says and do
not give any points. This is usually just a temporary problem and once the browser has been fixed we will remove
the new version from the blacklist.
</p>
<p>
Claiming to support a feature which isn't working is not just causing problems for the reliability of the
test results, but there are other real-world problems. For example if you claim to support WebGL, a website make decide
to serve WebGL content. If your browser does not support WebGL, the website may fail in an uncontrollable way. If you
correctly denied support for WebGL, the website may have served alternative content that would work in your browser.
If you claim to support features that you don't, you are breaking the web.
</p>
<p>
If we find that a browser is structurally lying about which features they support - deliberately or not - we will
usually give a warning to the developers of the browser and if the problem hasn't been fixed in the next version
we will remove the browser from the 'other browser' and 'compare' pages and/or give other penalties.
</p>
</div>
<hr>
<h2>Methods</h2>
<h3>Why are you using browser sniffing?</h3>
<div class='explaination'>
<p>
Unfortunately, in two very specific cases we are forced to use browser sniffing. The first case is <code>contentEditable</code>
which was not supported on many older mobile devices. Yet almost all mobile browsers claim to support <code>contentEditable</code>.
Fortunately modern mobile devices are starting to support <code>contentEditable</code>, but this left us with a problem. We
cannot reliably detect if a browser has proper support. The only way around this is to use a whitelist of
mobile browsers that do support this feature, otherwise you risk awarding points to mobile browsers that they
do not deserve. The second case is drag and drop, which is also not supported on mobile phones and tablets. </p>
<p>
Please open a new issue on <a href='https://github.com/NielsLeenheer/html5test'>Github</a> when you believe a
browser should be included on the whitelist.
</p>
</div>
<h3>How are you detecting when a field is using a custom user interface</h3>
<div class='explaination'>
The HTML5 specification introduces a number of new field types. Instead of just a plain input field there are now
color pickers, date pickers, number fields and sliders. The specification doesn't define what the user interface of these
new fields are supposed to look like. Rightly so, because the user interface might depend on the device that is
used. It does make detecting a bit problematic. What we do is look at the field itself and how the field affects
its surroundings. We start by creating a plain text field and wrap it with a block. We measure the rendered style of
the wrapper and the field itself. We then create a field of a specific type and measure the wrapper and the field again.
If the rendered style of the wrapper has changed, this should mean the field itself is rendered in such a way that
it affects its surroundings in a certain way. That does not mean it has a fully functioning custom user interface, but
this is the best we can do. Similarly we compare the rendered style of the field itself. If either one of these
is different from the plain text field, we assume the field has a custom user interface.
</div>
<hr>
<h2>Privacy</h2>
<h3>What kind of data is collected from visitors?</h3>
<div class='explaination'>
<p>
Each time you visit this website your score and test results are logged on our servers.
We also store the user agent of your browser which contains information about the browser,
operating system and device you are using. The collected information is solely used to
generated anonymized reports about HTML5 support in browsers and improve the quality of
our software.
</p>
<p>
We do not store cookies in your browser, but we do use several external components that do,
including: Google Analytics, BuySellAds, Facebook, Twitter and Google+.
</p>
</div>
</div>
</div>
</div>
<div class='footer'>
<div>
<div class='hosting'>
<a href='http://sights.nl/en/'><img src='/images/sights.png' width=55 alt='Sights'></a>
</div>
<div class='copyright'>
<p>Copyright 2010-2012 by Sights</p>
<p>April, 2012 - version 3.0</p>
<p data-i18n='footer'>
The HTML5 test is being developed at <a href='http://github.com/NielsLeenheer/html5test'>Github</a>. Please file an issue there if you find any bugs or think of any improvements to this test.
Please note that the HTML5 test is not affiliated with the W3C or the HTML5 working group.
</p>
<div id='cloudvps'>
<a href="http://www.cloudvps.nl" target="_blank" ><b>CloudVPS</b><br> High Availability<br> Cloud Servers</a>
</div>
</div>
</div>
</div>
<script src='//www.google-analytics.com/ga.js'></script>
<script>
<!--
try {
var pageTracker = _gat._getTracker("UA-68192-4");
pageTracker._trackPageview();
} catch(err) {}
//-->
</script>
</body>
</html>