Skip to content
This repository
branch: master
file 466 lines (429 sloc) 34.826 kb
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
<!DOCTYPE html>
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
<html lang="{{LANGUAGE_CODE}}" dir="{{LANGUAGE_BIDI|yesno:"rtl,ltr"}}" itemscope itemtype="http://schema.org/Article">
<head>
  <meta charset="utf-8">
  <meta property="twitter:account_id" content="1593210261" />
  <!-- Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Author: {% block headauthor %}{% endblock %}
*
* {% block credits %}{% endblock %}
*
-->
  <title>{% if self_pagename == 'home' %}{% trans "HTML5 Rocks" %} - {% trans "A resource for open web HTML5 developers" %}{% else %}{% block headtitle %}{% trans "A resource for open web HTML5 developers" %}{% endblock %} - {% trans "HTML5 Rocks" %}{% endif %}</title>
  <meta name="description" content="{% if tut.description %}{{tut.description}}{% else %}{{description}}{% endif %}">
  <meta name="keywords" content="{% trans "html5,html 5,html5 demos,html5 examples,javascript,css3,notifications,geolocation,web workers,apppcache,file api,filereader,indexeddb,offline,audio,video,drag and drop,chrome,sse,mobile" %}">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">

  <link rel="shortcut icon" href="/favicon.ico">
  <link rel="alternate" type="application/rss+xml" title="{% trans "HTML5 Rocks RSS" %}" href="http://feeds.feedburner.com/html5rocks">

  <!-- iOS: run in full-screen mode and display upper status bar as translucent -->
  <!--<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">-->

  <meta itemprop="name" content="{% if tut.title %}{{tut.title}}{% endif %}{% if tut.subtitle %}: {{tut.subtitle}}{% endif %} - {% trans "HTML5 Rocks" %}">
  <meta itemprop="description" content="{% if tut.description %}{{tut.description}}{% else %}{{description}}{% endif %}">
  {% block share_image %}
  <meta itemprop="image" content="{{host}}/static/images/html5rocks-logo-wings.png">
  {% endblock %}

  {% if tut %}
  <meta name="twitter:card" content="summary">
  <meta name="twitter:site" content="@ChromiumDev">
  {% if tut.author.twitter_account %}<meta name="twitter:creator" content="@{{tut.author.twitter_account}}">{% endif %}

  <meta property="og:type" content="article">
  <meta property="og:title" content="{% if tut.title %}{{tut.title}}{% endif %}{% if tut.subtitle %}: {{tut.subtitle}}{% endif %} - {% trans "HTML5 Rocks" %}">
  <meta property="og:url" content="{{canonical_url}}">
  <meta property="og:description" content="{% if tut.description %}{{tut.description}}{% else %}{{description}}{% endif %}">
  <meta property="og:image" content="{% if tut.author %}{{host}}/static/images/profiles/{{ tut.author.key.name }}.png{% else %}{{host}}/static/images/html5rocks-logo-wings.png{% endif %}">
  <meta property="og:site_name" content="{% trans "HTML5 Rocks" %} - {% trans "A resource for open web HTML5 developers" %}">
  {% endif %}

  {% if tut.author.google_account %}
  <link rel="author" href="https://www.google.com/profiles/{{tut.author.google_account}}">
  {% endif %}
  {% if tut.second_author.google_account %}
  <link rel="author" href="https://www.google.com/profiles/{{tut.second_author.google_account}}">
  {% endif %}
  <link rel="publisher" href="https://plus.google.com/111395306401981598462">

  {% if localizations %}
  {% for alt_locale in localizations %}
  <link rel="alternate" hreflang="{{alt_locale.loc}}" href="{{host}}{{alt_locale.path}}">
  {% endfor %}
  {% endif %}

  {% if css_file %}
  <link rel="stylesheet" media="all" href="/static/css/{{css_file}}{% if prod %}.min{% endif %}.css?20131111">
  {% else %}
  <link rel="stylesheet" media="all" href="/static/css/base{% if prod %}.min{% endif %}.css?20131111">

  {% endif %}
  <link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,800|Source+Code+Pro" rel="stylesheet">

  <link rel="apple-touch-icon" href="/static/images/identity/HTML5_Badge_64.png">
  <link rel="apple-touch-icon-precomposed" href="/static/images/identity/HTML5_Badge_64.png">
  
  {% if LANGUAGE_BIDI %}
    <!-- Here goes patches needed for BIDI languages like Farsi-->
    <link rel="stylesheet" media="all" href="/static/css/rtl.css">
  {% endif %}
  
  <script src="/static/js/modernizr.custom.82437.js"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

  <!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5-els.js"></script>
<![endif]-->

  {% block head %}{% endblock %}
</head>
<body data-href="{{self_pagename}}" onload="{% block onload %}{% endblock %}" class="pattern-bg">

  {% if gdl_page_url %}
    <a href="{{gdl_page_url}}" id="livebanner" alt="Watch HTML5Rocks LIVE" title="Watch HTML5Rocks LIVE">On Air <span class="record"></span></a>
  {% endif %}

  <header class="main">
    <a id="home_horns" href="/{{LANGUAGE_CODE}}/"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAyCAYAAABGQBuoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC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ZLVLy3wGfgO+s+xjlr9iSfceM33vwfT+j48tsenCRIkepxzo7092LlG050HWgXY+harx+YWinGiR1w8IvL/RmoyklW3qcAEwdS6dkjGXzIffab2Mu7S3WTfkH63WKwIijHERTxlbw9aCppJB7U6SEvJMvLvjKBPNvxVFPonGc9MGaz41dOXtYIsFuRhF5OiCTWneZ4EXgEdz8gbgyXvD7ZMyNxM/g0aA/3J9lj4EGABt/PzEJtkxBQAAAABJRU5ErkJggg==" alt="{% trans "HTML5 Rocks" %}" width="24" height="50"></a>
    <h1 id="title">
      <a href="/{{LANGUAGE_CODE}}/" title="{% trans "HTML5 Rocks" %}">{% trans "HTML5 Rocks" %}</a>
    </h1>
    <nav>
      <ul>
        <li id="home_menu"><a class="home" href="/{{LANGUAGE_CODE}}/" rel="home">{% trans "Home" %}</a></li>
        <li id="tutorials_menu"><a href="/{{LANGUAGE_CODE}}/tutorials/?page=1" class="tutorials">{% trans "Tutorials" %}</a></li>
        <li id="updates_menu"><a href="/{{LANGUAGE_CODE}}/updates/" class="updates">{% trans "Updates" %}</a></li>
        <li id="contrib_menu"><a href="https://github.com/html5rocks/www.html5rocks.com/blob/master/CONTRIBUTING.md" target="_blank">{% trans "Contribute" %}</a></li>
        <li id="slides_menu"><a href="/{{LANGUAGE_CODE}}/slides" class="slides">{% trans "Slides" %}</a></li>
        <li id="resources_menu"><a href="/{{LANGUAGE_CODE}}/resources" class="resources">{% trans "Resources" %}</a></li>
        <li id="search_show">
          <a href="#search_form">
            <span>{% trans "Search" %}</span>
            <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYW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+jrSIiTjfTl5v/qang55z40xlsYvCEEugqEcbSqplutcBrCiZNw0ugU+zm0cQWreY7OVHC7DDN39WVmCmcDyZdNMBbzGx3AiYnu4CvAALKABcbyDrXxAAAAAElFTkSuQmCC" width="14" height="14" alt="">
          </a>
        </li>
      </ul>
    </nav>
    <div class="subheader search" style="display: none;" id="search_form">
      <div class="search">
        <form action="/{{LANGUAGE_CODE}}/search" id="cse-search-box" role="search">
          <!--<input type="hidden" name="cx" value="007435387813601113811:ef_kuvvx6a8">
<input type="hidden" name="cof" value="FORID:9">
<input type="hidden" name="ie" value="UTF-8">
<input type="hidden" name="hl" value="{{LANGUAGE_CODE}}">-->
          <img id="search_hide" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdCAYAAABWk2cPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcm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ete="off" placeholder="{% trans "Search" %}"/></label>
        </form>
      </div>
    </div>
    <div class="subheader features" style="display: none;" id="features" tabindex="0">
      <div class="features">
        <img id="features_hide" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdCAYAAABWk2cPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjM0OTMyQTREN0FEMTFFMEJDMEZDMjAwMjNDNjc0MDciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjM0OTMyQTVEN0FEMTFFMEJDMEZDMjAwMjNDNjc0MDciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMzQ5MzJBMkQ3QUQxMUUwQkMwRkMyMDAyM0M2NzQwNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMzQ5MzJBM0Q3QUQxMUUwQkMwRkMyMDAyM0M2NzQwNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps3igWgAAAFzSURBVHjazJfPSsNAEMZ3EygoBAoepD0VBA+Cp76AvoCvkWfK0+gLeBI8FISc2lMhsFBBCPGbMKGrZP/qNh342LKdzI/Z7OxOpPCwruvmGEgX0OWIywH6hBopZeOKJx2wJYYraCb87QvaA74NggJG2dwEwsbgH4AfnFAAKbOV+D+rAd4boQmAo+BMAxaJgGQrjn+EYiJPCNTBuZ7ptWXTrKHCM3DB/mM2Y46QTL+HcoPzM7SDSkg5gBW0gB4NPi30lnHR55ZgJQeqLBnrwNISizjzAWqzjQP8G7hxxOuhPu/LBA4F9s9kjqW1gZcRwH6JaSOtA7f+rZatCgT+PBxOaVlkllRCTzxWPB8EbSOAtKRbHkPBbeYoeBNweEZFgBVBm0igiAQ3kxyDUmtLFgbHB+jV8zUMB/6L4f8dtTFSu9ru/tie+LQv74D2G0nQD7rdE5dnzZxjnWJCJQTXHP9MGrPJWtDJmu3knxUIePJb5luAAQDWPZwf40bkcAAAAABJRU5ErkJggg==" width="29" height="29" alt="">
        <h2>{% trans "Features" %}</h2>
        <ul>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/offline" class="offline">
              <h3>{% trans "Offline" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/storage" class="storage">
              <h3>{% trans "Storage" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/connectivity" class="connectivity">
              <h3>{% trans "Connectivity" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/file_access" class="file_access">
              <h3>{% trans "File Access" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/semantics" class="semantics">
              <h3>{% trans "Semantics" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/multimedia" class="multimedia">
              <h3>{% trans "Audio/Video" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/graphics" class="graphics">
              <h3>{% trans "3D/Graphics" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/presentation" class="presentation">
              <h3>{% trans "Presentation" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/performance" class="performance">
              <h3>{% trans "Performance" %}</h3>
            </a>
          </li>
          <li>
            <a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts" class="nuts_and_bolts">
              <h3>{% trans "Nuts &amp; Bolts" %}</h3>
            </a>
          </li>
        </ul>
      </div>
    </div>
  </header>

  <a class="watermark" href="/{{LANGUAGE_CODE}}/"></a>

  <nav class="paginator features">
    <ul class="offline">
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/storage">{% trans "Storage" %}</a></li>
    </ul>
    <ul class="storage">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/offline">{% trans "Offline" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/connectivity">{% trans "Connectivity" %}</a></li>
    </ul>
    <ul class="connectivity">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/storage">{% trans "Storage" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/file_access">{% trans "File Access" %}</a></li>
    </ul>
    <ul class="file_access">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/connectivity">{% trans "Connectivity" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/semantics">{% trans "Semantics" %}</a></li>
    </ul>
    <ul class="semantics">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/file_access">{% trans "File Access" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/multimedia">{% trans "Audio/Video" %}</a></li>
    </ul>
    <ul class="multimedia">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/semantics">{% trans "Semantics" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/graphics">{% trans "3D/Graphics" %}</a></li>
    </ul>
    <ul class="graphics">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/multimedia">{% trans "Audio/Video" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/presentation">{% trans "Presentation" %}</a></li>
    </ul>
    <ul class="presentation">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/graphics">{% trans "3D/Graphics" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/performance">{% trans "Performance" %}</a></li>
    </ul>
    <ul class="performance">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/presentation">{% trans "Presentation" %}</a></li>
      <li><a class="next" href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts">{% trans "Nuts &amp; Bolts" %}</a></li>
    </ul>
    <ul class="nuts_and_bolts">
      <li><a class="previous" href="/{{LANGUAGE_CODE}}/features/performance">{% trans "Performance" %}</a></li>
    </ul>
  </nav>

  <div class="outline_nav_toggle deactivated">
    <img class="show" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAeCAYAAADU8sWcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzoz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sl51DSWVqvVuhAldjoAdh4qSz5Mt9z1W/d6PdWyrJiftAY7sGd9e+DFjHt6ieFwqAQ5Vxz7LPbK8NFoFIicYy+HRRaJx+NIVVVhUtM00WQy4ephdEQIRQ5RiESyLTC98lyRTCatIItz7G1Muw9XpFKpQOQcewPTQu8afS6XMxVFmfohBjuwZ0XtvF511iKFQuED7uttiEEf7DxUdGe2N1haUCCgUIg6IFhY6pv1vEa7U18lFSBQUhHtbstHbyYkl968tsd7Za2PW7vhaH9VPQQxs2/fQyP5j5j3aIA6X9nBo+GBEBtBnkulLZ2AxHrz/Vw6xEPxV4ABAB9p/+75XTbuAAAAAElFTkSuQmCC" alt="">

    <nav class="outline features">
      <h3>HTML5 Features</h3>
      <ul>
        <li class="offline">
          <a href="/{{LANGUAGE_CODE}}/features/offline" class="section_title offline">{% trans "Offline" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/offline#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="storage">
          <a href="/{{LANGUAGE_CODE}}/features/storage" class="section_title storage">{% trans "Storage" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/storage#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="connectivity">
          <a href="/{{LANGUAGE_CODE}}/features/connectivity" class="section_title connectivity">{% trans "Connectivity" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/connectivity#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="file_access">
          <a href="/{{LANGUAGE_CODE}}/features/file_access" class="section_title file_access">{% trans "File Access" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/file_access#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="semantics">
          <a href="/{{LANGUAGE_CODE}}/features/semantics" class="section_title semantics">{% trans "Semantics" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/semantics#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="multimedia">
          <a href="/{{LANGUAGE_CODE}}/features/multimedia" class="section_title multimedia">{% trans "Audio/Video" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/multimedia#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="graphics">
          <a href="/{{LANGUAGE_CODE}}/features/graphics" class="section_title graphics">{% trans "3D/Graphics" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/graphics#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="presentation">
          <a href="/{{LANGUAGE_CODE}}/features/presentation" class="section_title presentation">{% trans "Presentation" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/presentation#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
        <li class="performance">
          <a href="/{{LANGUAGE_CODE}}/features/performance" class="section_title performance">{% trans "Performance" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#themes">{% trans "Themes" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#technologies">{% trans "Technologies" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#techniques">{% trans "Techniques" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#tools">{% trans "Tools" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/performance#further_reading">{% trans "Further Reading" %}</a></li>
          </ul>
        </li>
        <li class="nuts_and_bolts">
          <a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts" class="section_title nuts_and_bolts">{% trans "Nuts &amp; Bolts" %}</a>
          <ul>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#intro">{% trans "Intro" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#support">{% trans "Browser Support" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#updates">{% trans "What&rsquo;s New" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#demos">{% trans "Demos" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#in_the_wild">{% trans "In the Wild" %}</a></li>
            <li><a href="/{{LANGUAGE_CODE}}/features/nuts_and_bolts#resources">{% trans "Resources" %}</a></li>
          </ul>
        </li>
      </ul>
    </nav>
  </div>

  <div class="page current loaded" id="{{self_pagename}}">
    {% block body %}{% endblock %}
  </div>

  <script>
  (function() {

    $(document).keydown(function(e) {
      if (e.keyCode === 27) { // ESC
        // Hide search and/or feature bar.
        $('#search_hide, #features_hide').click();
      }
    });

    // Toggle the feature nav.
    $('.outline_nav_toggle').click(function(e) {
      $(this).toggleClass('activated');
      $(this).find('nav.outline').fadeToggle('fast');
    });

    $('#features_show a').click(function() {
      $('#search_hide').click(); // Hide search panel if it's out.

      if ($(this).hasClass('current')) {
        $('.subheader.features').hide();
        $(this).removeClass('current');
        $('.watermark').css('top', '30px');
        $('#features_show a').focus();
      } else {
        $('.main nav .current').removeClass('current');
        $(this).addClass('current');
        $('.subheader.features').show();
        $('.watermark').css('top', '100px');
        $('#features').focus();
      }
      // don't apply hash
      if (/#features$/.test(this.href)) return false;
    });

    $('#features_hide').click(function() {
      $('#features_show').removeClass('current');
      $('.subheader.features').hide();
      $('.watermark').css('top', '30px');
      $('#features_show a').focus();
    });


    window.isCompatible = function() {
      {% block iscompatible %}
      return null;
      {% endblock %}
    };

    if (isCompatible() === false) {
      document.getElementById('notcompatible').className = '';
    } else if (isCompatible() === true) {
      document.getElementById('compatible').className = '';
    }

    // Kill feedburner and marketing tracking arguments, but let them register
    // before we do it.
    setTimeout(function() {
      if (/^\?utm_/.test(document.location.search) &&
          window.history.replaceState) {
        window.history.replaceState(
            {}, '', document.location.href.replace(/\?utm_.*/, ''));
      }
    }, 2000);

    //if ($(window).width() < 1200 && $(window).width() > 1000 && $('.toc').length) {
    if ($('.toc').length && $(window).width() > 1000) {
      // Fix the TOC if our scroll position is below the top of the page.
      var top = $('.toc').offset().top - 50;

      $(window).scroll(function (event) {
        // Get the position of the vertical scroll.
        var y = $(this).scrollTop();

        if (y >= top) {
          $('.toc').addClass('fixed').removeClass('bottom');
        } else {
          $('.toc').removeClass('fixed').removeClass('bottom');
        }
      });
    }
  })();
  </script>
  <script>
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15028909-1']);
  _gaq.push(['_setSiteSpeedSampleRate', 50]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  </script>

  <!-- defer is unreliable in ie <= 9, but o well -->
  <script defer src="/static/js/search{% if prod %}.min{% endif %}.js"></script>
</body>
</html>
Something went wrong with that request. Please try again.