forked from mozilla/bedrock
/
technology.html
535 lines (426 loc) · 30.8 KB
/
technology.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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
{# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #}
{% extends "/firefox/base.html" %}
{% block page_title %}Built with Cutting-Edge Technology{% endblock %}
{% block body_id %}firefox-technology{% endblock %}
{% block site_css %}
{{ css('firefox_technology') }}
{% endblock %}
{% block content %}
<div id="main-feature">
<div class="row">
<hgroup class="stacked">
<h1>Built on Open <span class="large">Technology</span></h1>
<h4>Powerful new innovations that change the way you build the Web</h4>
</hgroup>
<aside id="more-info">
<h5>More Useful Info</h5>
<ul>
<li><a href="https://developer.mozilla.org/demos">Demo Studio</a></li>
<li><a href="{{ url('firefox.performance') }}">Easy Customization</a></li>
<li><a href="https://developer.mozilla.org/">Mozilla Developer Network</a></li>
</ul>
</aside>
{{ download_button('download', 'small') }}
</div>
</div>
<nav class="menu-bar billboard">
<ul>
<li><a href="#tools">Developer <span>Tools</span></a></li>
<li><a href="#html5">Innovating <span>With HTML5</span></a></li>
<li><a href="#css">Beautifying <span>With CSS</span></a></li>
<li><a href="#apis">Modern <span>APIs</span></a></li>
<li><a href="#svg">Enhanced <span>SVG</span></a></li>
<li><a href="#security">Advanced <span>Security</span></a></li>
</ul>
</nav>
<div id="wall">
<section>
<article id="tools" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="click-star"><span>Roll over each blurb to see examples.</span></div>
<div class="intro">
<h1>Developer <span>Tools</span></h1>
<p>Ever wonder what makes the Web work? Want to tinker with design and code? Firefox Developer Tools let you look under the hood of any Web page so you can debug, optimize and experiment with the Web.</p>
</div>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-style-editor.png') }}" alt="Style Editor screenshot" />
</div>
<h1>Style Editor</h1>
<p>The Style Editor makes it easy to experiment with, revise and test changes to the appearance of Web pages. Edit the design of any page and see your changes instantly as you modify the stylesheet. Try it out from the Web Developer menu.</p>
</article>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-debugger.png') }}" alt="Debugger screenshot" />
</div>
<h1>Debugger</h1>
<p>Quickly hunt down problems in your JavaScript code as you pause, play and watch script execution by setting breakpoints in the source editor. All of the scripts are listed in a menu and you can jump to a file by typing part of its name. It also supports remote debugging for Firefox OS and Firefox for Android.</p>
</article>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-mobile.png') }}" alt="Mobile developer tools screenshot" />
</div>
<h1>Mobile developer tools</h1>
<p>Our Responsive Design View tool makes it easy to resize the page you’re viewing to see what it would look like on any screen, all from the comfort of your desktop. You can also troubleshoot JavaScript running on your mobile with the Debugger. Connect to Firefox for Android or Firefox OS and use your desktop monitor to debug your mobile device.</p>
</article>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-developer-toolbar.png') }}" alt="Developer Toolbar screenshot" />
</div>
<h1>Developer Toolbar</h1>
<p>Fast, easy and intuitive, the Developer Toolbar saves you time when working on Web development. It provides easy keyboard control over a variety of tools and automatically completes commands and parameters as you type. Find it in the Web Developer menu or hit shift+F2.</p>
</article>
<article class="hasdemo">
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-console.png') }}" alt="Web Console screenshot" />
</div>
<h1>Web Console</h1>
<p>Watch the events occurring within your Web pages. Web Console lets you see logging messages from your JavaScript code, JavaScript and CSS errors and network activity. Search and filter to find just the events you need to look at. Plus, you can directly interact with and explore your page via JavaScript.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Using_the_Web_Console">learn more</a>
</article>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-inspector.png') }}" alt="Page Inspector screenshot" />
</div>
<h1>Page Inspector</h1>
<p>Peek right into the styling of any Web page by visually selecting the page element that you’re interested in. Simply right-click on any part of the page and select “Inspect Element;” choose Inspect from the Web Developer menu; or use the handy ctrl-shift-I (cmd-shift-I on Mac) keyboard shortcut. (Try it out on this very page!)</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Tools/Inspector">learn more</a>
</article>
<article>
<div class="demo">
<img src="{{ media('img/firefox/technology/tools-scratchpad.png') }}" alt="Scratchpad screenshot" />
</div>
<h1>Scratchpad</h1>
<p>The browser is a fantastic place to experiment with JavaScript and Scratchpad lets you write code that can interact directly with the contents of a Web page. Scratchpad makes it easy to experiment with your ideas and then copy the results into your usual website development tools. It’s also fun for tinkering on top of pages.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Tools/Scratchpad">learn more</a>
</article>
<article>
<h1>Firebug</h1>
<p>The <a href="https://addons.mozilla.org/en-US/firefox/addon/firebug/">Firebug</a> add-on that web developers everywhere depend on is compatible with the latest version of Firefox.</p>
<a class="learn" title="documentation" href="http://www.getfirebug.com/">learn more</a>
</article>
<article id="tools-more">
<h1>More Development Resources</h1>
<ul>
<li>Follow our <a href="http://blog.mozilla.com/devtools">development blog</a></li>
<li>Follow our <a href="http://hacks.mozilla.org/category/developer-tools/">beta releases and tips blog</a></li>
<li>Join a passionate community of developers learning and teaching through demos and documentation at <a href="http://developer.mozilla.org/">developer.mozilla.org</a></li>
</ul>
</article>
</article>
<article id="html5" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="click-star"><span>Roll over each blurb to see examples.</span></div>
<div class="intro">
<h1>Innovating With <span>HTML5</span></h1>
<p>Firefox has always had excellent support for HTML5, and the latest version builds on that history with even more advanced features.</p>
</div>
<article id="formdemo" class="hasademo xxxie">
<h1>Forms</h1>
<div class="demo">
<form>
<h4>Dear Mozilla,</h4><p>My name is <input pattern="....*" placeholder="yourname">. I think this demo is <input placeholder="awesome?">.</p>
<p>By the way, I want to tell you that you should <input placeholder="...">.</p>
<p><button onclick="return submitForm();">Send</button></p>
</form>
<p>Submited! Thank you.</p>
</div>
<p>Firefox implements HTML5 forms, and supports new input types, data list support, new input attributes like autofocus and placeholder, decoupled forms, form options, validation mechanisms, constraint validation and new CSS selectors to bind them all together. For more detailed information, <a href="http://hacks.mozilla.org/">visit our Hacks site</a>.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/HTML/HTML5/Forms_in_HTML5">learn more</a>
</article>
<article class="hasademo">
<h1>Parser</h1>
<div class="demo parser">
<svg viewBox="0 0 200 100"><path stroke-width="1" stroke-dasharray="3,3" stroke="black" fill="none" d="M20 80L60 20L100 80L140 20L180 80"/><circle cx="20" cy="80" r="15" fill="none" stroke="#000"> <animate attributeName="cx" repeatDur="indefinite" values="0; 160; 0" dur="16s" accumulate="none" additive="sum" fill="freeze"/> <animate attributeName="cy" repeatDur="indefinite" values="80; 20; 80; 20; 80" dur="8s" accumulate="none" fill="freeze"/> </circle> </svg>
<math> <mrow> <mi>x</mi> <mo>=</mo> <mfrac> <mrow> <mrow> <mo>-</mo> <mi>b</mi> </mrow> <mo>±</mo> <msqrt> <mrow> <msup> <mi>b</mi> <mn>2</mn> </msup> <mo>-</mo> <mrow> <mn>4</mn> <mo>⁢</mo> <mi>a</mi> <mo>⁢</mo> <mi>c</mi> </mrow> </mrow> </msqrt> </mrow> <mrow> <mn>2</mn> <mo>⁢</mo> <mi>a</mi> </mrow> </mfrac> </mrow> </math>
</div>
<p>Firefox includes an HTML5-ready parser which brings <a href="http://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser-inline-svg-speed-and-more/">new capabilities</a> like <a href="https://developer.mozilla.org/en/svg_in_html_introduction">inline SVG</a>, and also improves performance by running the parsing algorithm on its own processor. This brings the Firefox parser algorithm closer to the standard and lays the foundation for consistent parsing across browsers.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/HTML/HTML5/HTML5_Parser">learn more</a>
</article>
<article class="hasademo">
<h1>WebM</h1>
<div class="demo">
<video preload="auto" width="160" src="http://videos.mozilla.org/serv/firefoxlive/meetthecubs.webm" onmouseover="this.play()" onmouseout="this.pause()"></video>
</div>
<p>Firefox supports WebM, the new royalty-free format for video on the Web. It works on YouTube if you join their <a href="http://www.youtube.com/html5">HTML5 beta</a>, and works with embedded YouTube videos if you use their new <a href="http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html">iframe embedding API</a>. Join the beta and see an example at the bottom of <a href="http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html">this post</a>.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox">learn more</a>
</article>
<article>
<h1>Video Buffer API</h1>
<p>With support for the <a href="http://hacks.mozilla.org/2010/08/html5-video-buffered-property-available-in-firefox-4/">buffered attribute</a> for HTML5 video, Web pages with video can now give an accurate measure of how much video has been buffered rather than an approximation based on the download rate and current position in the stream.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox">learn more</a>
</article>
<article>
<h1>Video “Preload” Support</h1>
<p>The “autobuffer" attribute for video has been replaced with the new “preload” attribute. This attribute gives developers control over how videos are pre-buffered if they’re included on a page rather than the binary on/off system that was included in Firefox 3.5.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox">learn more</a>
</article>
<article>
<h1>History pushState and replaceState</h1>
<p>Firefox supports the <a href="https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history">HTML5 pushState and replaceState history modification calls</a>, allowing developers to create or modify the browser navigation history. These are helpful for applications that might want to generate history entries using the hash after the URL (useful for HTML-based slides, for example).</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history">learn more</a>
</article>
</article>
<article id="css" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="click-star"><span>Roll over each blurb to see examples.</span></div>
<div class="intro">
<h1>Beautifying With <span>CSS</span></h1>
<p>Firefox is chock full of new CSS properties and promotions from the private CSS namespace into the final namespace due to the maturation of some of these standards.</p>
</div>
<article class="hasademo xxxie">
<h1>CSS Transitions</h1>
<div class="demo" id="transitiondemo"><span>❖✪</span></div>
<p>Firefox includes support for CSS transitions. Since the spec is still early, these are still –moz prefixed extensions.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/CSS_transitions">learn more</a>
</article>
<article class="hasademo">
<h1>CSS Animations</h1>
<div class="demo" id="animationdemo"><span>♥</span></div>
<p>Firefox 5 supports CSS Animations: a way to define CSS keyframes to create complex animations.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/CSS_animations">learn more</a>
</article>
<article>
<h1>-moz-calc()</h1>
<p>Firefox supports an early version of calc that’s private-namespaced as –moz-calc. This allows developers to use simple expressions anywhere they can use a length, making CSS page layouts much simpler (no more divs for spacing!).</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-calc">learn more</a>
</article>
<article>
<h1>-moz-any()</h1>
<p>Firefox has added an extremely useful new CSS extension: -moz-any() selector grouping. This allows providing alternatives between combinators rather than having to repeat the entire selector for one different piece.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-any">learn more</a>
</article>
<article id="mozelementdemo">
<h1>-moz-element()</h1>
<p>The –moz-element is an extension to the background-image property that lets you use any element as the background for another element.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-element">learn more</a>
</article>
<article>
<h1>-moz-placeholder</h1>
<p>The :-moz-placeholder changes the attributes of the background text that’s a placeholder in an HTML5 form. Web developers can change the color or other attribute of the placeholder text.
</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/%3A-moz-placeholder">learn more</a>
</article>
<article class="hasademo" id="radiusdemo">
<h1>Border Radius</h1>
<p>The border-radius attribute is now supported, replacing the old -moz-border-radius version.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/border-radius">learn more</a>
</article>
<article id="boxshadowdemo" class="hasademo">
<h1>box-shadow</h1>
<p>box-shadow has replaced -moz-box-shadow.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/box-shadow">learn more</a>
</article>
<article id="ffsdemo" class="hasademo experimental xxxie">
<h1>-moz-font-feature-settings</h1>
<div class="demo">
<table class="sample">
<tbody><tr><td style="font-size: 80%;" class="ss05">Beau Grand & Fort</td></tr>
<tr><td style="font-size: 62%;" class="dlig"><span class="ss06">klmn</span>ABRACADABRANTESQUE<span class="ss06">opqr</span></td></tr>
<tr><td style="font-size: 108%;" class="dlig">EXTRAORDINAIRE</td></tr>
<tr><td style="font-size: 108%;" class="dlig"><span class="ss06">t</span>prestigieux<span class="ss06">u</span></td></tr>
<tr><td style="font-size: 175%;" class="dlig">FULGURANT</td></tr>
<tr><td style="font-size: 128%;" class="ss04">Phénoménal</td></tr>
<tr><td style="font-size: 180%;" class="dlig-ss02">«COLOSSAL!»</td></tr>
<tr><td style="font-size: 140%;" class="ss05">incroyable</td></tr>
<tr><td style="font-size: 85%;" class="salt">& modeste avec <span class="ss05">ça</span></td></tr>
</tbody></table>
</div>
<p>Firefox includes support for <a href="http://hacks.mozilla.org/2010/11/firefox-4-font-feature-support/">exposing much more of the capabilities of TrueType fonts</a> with the <a href="https://developer.mozilla.org/en/CSS/-moz-font-feature-settings">-moz-font-feature-settings</a> property. It’s possible to take advantage of all kinds of font capabilities — kerning, ligatures, alternates, real small caps and stylistic sets, to name just a few.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-font-feature-settings">learn more</a>
</article>
<article>
<h1>Consistent CSS Units</h1>
<p>We’ve changed our handling of pixel sizes to match Internet Explorer, Safari and Chrome so that 1 inch always equals 96 pixels.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS-2_Quick_Reference/Units#CSS_units_and_dots-per-inch">learn more</a>
</article>
<article>
<h1>Physical CSS Unit Support</h1>
<p>Firefox introduces a new CSS unit called mozmm for the rare instance where you actually want a physical size to be used.</p>
<a class="learn" title="documentation" href="http://weblogs.mozillazine.org/roc/archives/2010/08/css_units_chang.html">learn more</a>
</article>
<article>
<h1>device-pixel-ratio</h1>
<p>The -moz-device-pixel-ratio media query gives you the number of device pixels per CSS pixel.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/En/CSS/Media_queries#-moz-device-pixel-ratio">learn more</a>
</article>
<article>
<h1>-moz-tab-size</h1>
<p>The -moz-tab-size property lets you specify the width in space characters of how to render a tab character (U+0009) when rendering text.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-tab-size">learn more</a>
</article>
<article>
<h1>-moz-focusring</h1>
<p>Firefox’s CSS pseudo-selector, -moz-focusring, lets you specify the appearance of an element when it’s focused and when it would have a focus ring drawn around it. Different operating systems have different conventions for when to draw a focus ring or not, and this lets you control the look of form controls while maintaining platform conventions.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/%3A-moz-focusring">learn more</a>
</article>
<article>
<h1>-moz-image-rect</h1>
<p>The new -moz-image-rect lets you use a sub-rectangle of an image as part of a <a href="https://developer.mozilla.org/en/CSS/background">background</a> or <a href="https://developer.mozilla.org/en/CSS/background-image">background-image</a>.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/-moz-image-rect">learn more</a>
</article>
<article>
<h1>Resizable Text Areas</h1>
<p>Text areas are resizable by default. You can disable that with the new resize CSS property.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/resize">learn more</a>
</article>
</article>
<article id="apis" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="click-star"><span>Roll over each blurb to see examples.</span></div>
<div class="intro">
<h1>Modern <span>APIs</span></h1>
<p>Firefox implements new standard APIs to find out what’s going on in your browser and provide more ways that you can add interactivity (online and offline) to your web pages.</p>
</div>
<article>
<h1>window.matchMedia</h1>
<p>Firefox supports a JavaScript equivalent to CSS3 <a href="https://developer.mozilla.org/En/CSS/Media_queries">media queries</a>, which allows Web pages to adapt to the media/device they are displayed on. Different information about the media is available, such as screen width, resolution and orientation.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/DOM/window.matchMedia">learn more</a>
</article>
<article>
<h1>WebSockets</h1>
<p>Firefox supports a way to maintain two-way communications with a server. WebSockets make it possible to create real-time messaging applications and HTML5 games on the Web.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/WebSockets">learn more</a>
</article>
<article>
<h1>Server Sent Events</h1>
<p>Server Sent Events enable a server to push messages to the browser, which can then be detected as events in the Web page.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Server_Sent_Events">learn more</a>
</article>
<article>
<h1>ECMAScript 5</h1>
<p>ECMAScript 5 is the new version of the JavaScript language, which includes new features and API like Strict Mode and the JSON API.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/Special:Tags?tag=ECMAScript5">learn more</a>
</article>
<article id="webgldemo" class="hasademo experimental xxxie">
<h1>WebGL</h1>
<script src="{{ media('js/firefox/technology/sylvester.js') }}"></script>
<script src="{{ media('js/firefox/technology/glUtils.js') }}"></script>
<script src="{{ media('js/firefox/technology/gldemo.js') }}"></script>
<div class="demo">
<canvas onmouseout="stopTeaPot()" onmouseover="startTeaPot()" height="200" width="300"></canvas>
</div>
<p>Canvas 3D. WebGL brings 3D graphics to the Web by introducing an API that closely conforms to OpenGL ES 2.0 and can be used in HTML5 canvas elements.</p>
<a class="close" title="close" href="#close">close</a>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/WebGL">learn more</a>
</article>
<article>
<h1>Support for .click() to the File Upload Control</h1>
<p>Firefox can call .click() on a hidden file control to bring up the platform file upload widget, meaning you can build your own instead of exposing the (ugly) file upload control. If you combine this with the new <a href="https://developer.mozilla.org/en/Using_files_from_web_applications">File APIs</a> and <a href="https://developer.mozilla.org/En/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress">progress events</a> you’ll have a recipe for a very nice file upload experience.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/using_files_from_web_applications#Using_hidden_file_input_elements_using_the_click%28%29_method">learn more</a>
</article>
<article>
<h1>Support for .slice in the File API</h1>
<p>Firefox supports the Blob API and the .slice APIs that come with it. This can help people who want to process parts of large File objects from JavaScript without having to load the whole file into the memory. People who reliably upload large files can use some server and JS code to split a large file into sections and upload chunks, including re-retrying failed sections, or even uploading several sections, in parallel.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/DOM/Blob">learn more</a>
</article>
<article>
<h1>Support for File API URLs</h1>
<p>Firefox supports the .url attribute for the File API, meaning objects from a File API can be used for images, video, HTML or other URL-powered objects.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Using_files_from_web_applications">learn more</a>
</article>
<article>
<h1>Touch and Multi-Touch Events</h1>
<p>Firefox supports both touch and multi-touch events, exposed to the DOM. Support for this functionality is available on Windows 7 systems.</p>
<a class="learn" title="documentation" href="http://hacks.mozilla.org/2010/08/firefox4-beta3/">learn more</a>
</article>
<article>
<h1>Detect Click-to-Touch</h1>
<p>Firefox can tell if a mouse or finger generated an event with the <a href="https://developer.mozilla.org/en/DOM/event.mozInputSource">mozInputSource</a> property. This is useful with the touch and multi-touch events and makes it possible to build apps that treat touch and mouse input differently.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/DOM/event.mozInputSource">learn more</a>
</article>
<article>
<h1>IndexedDB</h1>
<p>Firefox includes an early version of <a href="http://www.w3.org/TR/IndexedDB/">IndexedDB</a>. This emerging standard for local storage is still undergoing change and will be private-prefixed until it’s stable. <a href="https://developer.mozilla.org/en/IndexedDB/IndexedDB_primer">IndexedDB primer</a> provides an overview of using the IndexedDB API.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/IndexedDB">learn more</a>
</article>
<article>
<h1>FormData</h1>
<p>Firefox includes support for the new <a href="http://hacks.mozilla.org/2010/07/firefox-4-formdata-and-the-new-file-url-object/">FormData</a> object, which makes it easier to interact with HTML forms. It also enables some new capabilities, like making it easy to upload a file as part of a form accessed via the File API.</p>
<a class="learn" title="documentation" href="http://hacks.mozilla.org/2010/07/firefox-4-formdata-and-the-new-file-url-object/">learn more</a>
</article>
<article>
<h1>Get a Canvas as a File Object</h1>
<p>Firefox makes Canvas accessible as a file object for uploads and other purposes. You can now use the mozGetAsFile() method <a href="https://developer.mozilla.org/en/DOM/HTMLCanvasElement">on a canvas</a> and it will return an image file.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/DOM/HTMLCanvasElement">learn more</a>
</article>
<article id="audiodemo" class="hasademo experimental xxxie">
<!--[if gte IE 9]>-->
<script src="{{ media('js/firefox/technology/processing.js') }}"></script>
<!--<![endif]-->
<script src="{{ media('js/firefox/technology/beatdetektor.js') }}"></script>
<script src="{{ media('js/firefox/technology/dsp.js') }}"></script>
<script src="{{ media('js/firefox/technology/main.js') }}"></script>
<audio id="grappes" src="{{ media('img/firefox/technology/track.ogg') }}" preload="auto"></audio>
<h1>Audio Sampling and Generation API</h1>
<div class="demo">
<canvas onmouseout="stopProcessingAudio()" onmouseover="startProcessingAudio()" id="audiocube" data-processing-sources="{{ media('js/firefox/technology/anim.pde') }}" style="image-rendering: optimizespeed ! important;" width="128" height="128"></canvas>
</div>
<p>The Firefox Audio Data API allows developers to read, modify and write data from audio and video elements.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Introducing_the_Audio_API_Extension">learn more</a>
</article>
</article>
<article id="svg" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="intro">
<h1>Enhanced <span>SVG</span></h1>
<p>Firefox expands its support for <abbr title="Scalable Vector Graphics">SVG</abbr> to let you use line graphics in even more creative ways.</p>
</div>
<article>
<h1>SVG Animation and SMIL</h1>
<p>Now you can animate SVG with SMIL in Firefox.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/SVG/SVG_animation_with_SMIL ">learn more</a>
</article>
<article>
<h1>SVG As Images and CSS Backgrounds</h1>
<p>SVG can now be used <a href="https://developer.mozilla.org/en/HTML/element/img#Supported_Image_Formats">in <img> tags</a> as well as <a href="https://developer.mozilla.org/en/CSS/background-image#Syntax">background images in CSS</a>. SMIL animations are also supported.</p>
<img src="{{ media('img/firefox/technology/lion.svg') }}" alt="Lion SVG image example">
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/CSS/background-image#Syntax">learn more</a>
</article>
</article>
<article id="security" class="article container divider">
<p class="top-link"><a href="#main-feature">Return to Top</a></p>
<div class="intro">
<h1>Advanced <span>Security</span></h1>
<p>Firefox supports a huge number of new security enhancements to help Web developers and protect users.</p>
</div>
<article>
<h1>Content Security Policy</h1>
<p>Content Security Policy (CSP) is a set of tools developers can use to help prevent a few different classes of attacks. In particular, it offers tools to mitigate cross-site scripting attacks, click-jacking and packet sniffing attacks. When a rule is violated, Firefox can send back information about that violation to the website, helping improve security for other browsers too.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/Security/CSP">learn more</a>
</article>
<article>
<h1>X-Frame-Options</h1>
<p>Firefox supports the X-Frame-Options header, one defense against clickjacking. This response header is supported by other browsers as well.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header">learn more</a>
</article>
<article>
<h1>HSTS (ForceHTTPS)</h1>
<p>Firefox supports the HTTP Strict Transport Security (HSTS) headers. These headers can be used to tell the browser that it should never, ever contact a site over unencrypted HTTP.</p>
<a class="learn" title="documentation" href="http://tools.ietf.org/html/draft-hodges-strict-transport-sec-02">learn more</a>
</article>
<article>
<h1>CORS Improvements</h1>
<p>Firefox fixes bugs in the CORS implementation.</p>
<a class="learn" title="documentation" href="https://developer.mozilla.org/en/http_access_control">learn more</a>
</article>
<article>
<h1>:visited changes</h1>
<p>Firefox includes the changes required to help improve your privacy online by <a href="http://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/">closing a decade-old hole in CSS rules that let any website query your browsing history</a>. These changes have also been picked up by WebKit-based browsers.</p>
<a class="learn" title="documentation" href="http://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/">learn more</a>
</article>
</article>
</section>
</div><!-- end #wall div -->
{% endblock %}
{% block js %}
{{ js('firefox_tech') }}
{% endblock %}