2012-01-30 simon.fraser@apple.com

Mon, 30 Jan 2012 15:24:47 +0000

author
Simon Fraser <simon.fraser@apple.com>
date
Mon, 30 Jan 2012 15:24:47 +0000
changeset 4368
d93b59bab65a
parent 4367
f43045b47523
child 4369
2de9d888d065

2012-01-30 simon.fraser@apple.com
- Clarify behavior of missing properties in keyframes:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14636
https://www.w3.org/Style/CSS/Tracker/actions/389

css3-animations/CSSAnimation.html file | annotate | diff | comparison | revisions
css3-animations/ChangeLog file | annotate | diff | comparison | revisions
css3-animations/Overview.html file | annotate | diff | comparison | revisions
css3-animations/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-animations/CSSAnimation.html	Sun Jan 29 21:43:07 2012 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,1835 +0,0 @@
     1.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     1.5 -"http://www.w3.org/TR/html4/strict.dtd">
     1.6 -<html lang="en">
     1.7 -  <head>
     1.8 -    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
     1.9 -    <title>
    1.10 -      CSS Animation
    1.11 -    </title>
    1.12 -    <link href="base.css" rel="stylesheet" type="text/css">
    1.13 -    <style type="text/css">
    1.14 -
    1.15 -    @media print {
    1.16 -
    1.17 -    /* the following doesn't work for now,
    1.18 -    instead we rely on a patched version of html2ps which has this built-in */
    1.19 -    .dlink { display: none }
    1.20 -
    1.21 -    /* the following doesn't work for now,
    1.22 -    instead we rely on a patched version of html2ps which has this built-in */
    1.23 -    div.navbar {
    1.24 -    display: none;
    1.25 -    }
    1.26 -
    1.27 -    html { margin: 0 !important }
    1.28 -    body { font-family: serif }
    1.29 -    th, td { font-family: inherit }
    1.30 -    a { color: inherit !important }
    1.31 -    div.example:before { font-family: serif !important }
    1.32 -    pre.example:before { font-family: serif !important }
    1.33 -    a:link, a:visited { text-decoration: none !important }
    1.34 -    a:link:after, a:visited:after { /* create a cross-ref "see..." */ }
    1.35 -    }
    1.36 -    @page {
    1.37 -    margin: 1.5cm 1.1cm;
    1.38 -    }
    1.39 -
    1.40 -    /* html body { margin-left: 8.5em } /* Overrides 70px in base.css */
    1.41 -
    1.42 -    body {counter-reset: exampleno figure}
    1.43 -
    1.44 -    h2, h3, h5, h6 { margin-top: 2em }
    1.45 -    h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
    1.46 -    div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
    1.47 -    div.example { page-break-inside: avoid }
    1.48 -    dt { page-break-after: avoid }
    1.49 -
    1.50 -    span.id {float: right; font-weight: bold}
    1.51 -
    1.52 -    /* p, p.note + p, p.testlink + p, p.note, p.issue { */
    1.53 -    p, p.testlink + p, p.issue, p.mtb {
    1.54 -    /* text-indent: 2em; */
    1.55 -    margin-bottom: 0.6em;
    1.56 -    margin-top: 0.6em
    1.57 -    }
    1.58 -    p + p, p + div.sidefigure + p {
    1.59 -    /* text-indent: 2em; */
    1.60 -    margin-top: 0
    1.61 -    }
    1.62 -    dd p {
    1.63 -    margin-top: 0
    1.64 -    }
    1.65 -
    1.66 -    h1 + h2 {
    1.67 -    margin-top: 0;
    1.68 -    }
    1.69 -
    1.70 -    pre {
    1.71 -    text-align: left; /* fixes justification in Mac IE 5 */
    1.72 -    text-indent: 0;   /* fixes indent in Mac Netscape 6 */
    1.73 -    margin-top: 1em;
    1.74 -    margin-bottom: 1em;
    1.75 -    font-size: 90% /*smaller*/;
    1.76 -    }
    1.77 -    /*
    1.78 -    var {
    1.79 -    font-style: normal;
    1.80 -    }
    1.81 -    */
    1.82 -    img {
    1.83 -    border-style: none;
    1.84 -    color: white;
    1.85 -    }
    1.86 -    .toc {
    1.87 -    text-indent: 0;
    1.88 -    }
    1.89 -
    1.90 -
    1.91 -    @media all { /* NS < 6 doesn't like borders around inline elements... */
    1.92 -
    1.93 -    body {
    1.94 -    line-height: 1.3;
    1.95 -    }
    1.96 -
    1.97 -    a:link, a:visited {
    1.98 -    /*        color: inherit;*/
    1.99 -    }
   1.100 -    a.logo:link, a.logo:visited {
   1.101 -    padding: 0;
   1.102 -    border-style: none;
   1.103 -    }
   1.104 -
   1.105 -    /* Hmm, this seems to confuse many browsers... */
   1.106 -    dt { margin-left: 0; margin-top: 1em; color: #030; font-weight: bold;}
   1.107 -    dd { margin-left: 2em }
   1.108 -    dl, ul, ol { margin-left: 1em; padding-left: 0 }
   1.109 -    li { margin-left: 2em; padding-left: 0 }
   1.110 -
   1.111 -    }
   1.112 -    ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
   1.113 -    ul.indexlist li { margin-left: 0; list-style: none }
   1.114 -    ul.indexlist li li { margin-left: 1em }
   1.115 -
   1.116 -    div.example:before {
   1.117 -    content: "Example";
   1.118 -    content: "Example " counter(exampleno, upper-roman);
   1.119 -    font: bold small sans-serif;
   1.120 -    /*float: left;*/
   1.121 -    position: absolute;
   1.122 -    top: -0.6em;
   1.123 -    left: -2.5em;
   1.124 -    width: 7.5em;
   1.125 -    text-align: center;
   1.126 -    line-height: 1em;
   1.127 -    color: #FFF8DD;
   1.128 -    background: #600;
   1.129 -    padding: 0.1em;
   1.130 -    border: thin solid #999;
   1.131 -    /*margin: -1.3em 0 0.3em -2.5em;*/
   1.132 -    }
   1.133 -    div.example {
   1.134 -    counter-increment: exampleno;
   1.135 -    }
   1.136 -    pre.example:before {
   1.137 -    content: "Example";
   1.138 -    content: "Example " counter(exampleno, upper-roman);
   1.139 -    font: bold small sans-serif;
   1.140 -    /*float: left;*/
   1.141 -    position: absolute;
   1.142 -    top: -0.6em;
   1.143 -    left: -2.5em;
   1.144 -    width: 7.5em;
   1.145 -    text-align: center;
   1.146 -    line-height: 1em;
   1.147 -    color: #FFF8DD;
   1.148 -    background: #600;
   1.149 -    padding: 0.1em;
   1.150 -    border: thin solid #999;
   1.151 -    /*margin: -1.3em 0 0.3em -2.5em;*/
   1.152 -    }
   1.153 -    pre.example {
   1.154 -    counter-increment: exampleno;
   1.155 -    }
   1.156 -    div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
   1.157 -    div.illegal-xml, pre.example, pre.illegal-example, pre.html,
   1.158 -    pre.illegal-html, pre.xml, pre.illegal-xml {
   1.159 -    background: #FFF8DD;
   1.160 -    padding: 0.5em;
   1.161 -    margin: 1em 0;
   1.162 -    border: thin solid #999;
   1.163 -    position: relative;
   1.164 -    }
   1.165 -    pre.example, pre.illegal-example, pre.html,
   1.166 -    pre.illegal-html, pre.xml, pre.illegal-xml {
   1.167 -    padding-top: 1.5em;
   1.168 -    }
   1.169 -    div.example { color: #600 }
   1.170 -    pre.example { color: #600 }
   1.171 -    pre.illegal-example { color: red }
   1.172 -    div.illegal-example { color: red }
   1.173 -    div.illegal-example p { color: black }
   1.174 -
   1.175 -    div.html { color: #600 }
   1.176 -    pre.html { color: #600 }
   1.177 -    pre.illegal-html { color: red }
   1.178 -    div.illegal-html { color: red }
   1.179 -    div.illegal-html p { color: black }
   1.180 -    pre.deprecated-html { color: red }
   1.181 -    div.deprecated-html { color: red }
   1.182 -    div.deprecated-html p { color: black }
   1.183 -
   1.184 -    div.xml { color: #600 }
   1.185 -    pre.xml { color: #600 }
   1.186 -    pre.illegal-xml { color: red }
   1.187 -    div.illegal-xml { color: red }
   1.188 -    div.illegal-xml p { color: black }
   1.189 -
   1.190 -    code { font-size: 90% }
   1.191 -    .css { color: #800 }    /* inline CSS code (SPAN/CODE) */
   1.192 -    code.css { font-family: inherit; font-size: 100% }
   1.193 -    code.html { color: #600 } /* inline HTML */
   1.194 -    code.xml { color: #600 }  /* inline XML */
   1.195 -    .property { }     /* name of a CSS property (SPAN) */
   1.196 -    .prop-name { color: #2A2AA5; font-weight: bold; font-size: 90%} /* name of a CSS property (SPAN) */
   1.197 -    .prop-value { font-weight: bold; font-size: 90%} /* CSS property value (SPAN) */
   1.198 -    .descriptor { }     /* name of a CSS descriptor (SPAN) */
   1.199 -    .issue { color: #c00 }    /* editorial remark, open issue */
   1.200 -    .type { font-style: italic }  /* A <type> value for a property */
   1.201 -
   1.202 -    dfn { font-weight: bolder; /*font-size: 1em*/ }
   1.203 -
   1.204 -    /* Class note is a non-normative note. May be inline or a P or DIV */
   1.205 -    .note {
   1.206 -    /* font-weight: bold; */
   1.207 -    color: green
   1.208 -    }
   1.209 -    p.note, div.note {
   1.210 -    /* margin: 1em 2em; */
   1.211 -    }
   1.212 -    p.note:before, span.note:before { content: "\25B6" " " }
   1.213 -    div.note > p:first-child:before { content: "\25B6" " " }
   1.214 -
   1.215 -    .normref { color: red } 
   1.216 -    .informref { color: green } 
   1.217 -
   1.218 -
   1.219 -    /* ToC not indented, but font style shows hierarchy */
   1.220 -    ul.toc {margin: 1em 0; padding: 0; font-weight: bold}
   1.221 -    ul.toc ul {margin: 0; padding: 0; font-weight: normal}
   1.222 -    ul.toc ul ul {margin: 0 /*0 0 2em*/; font-style: italic}
   1.223 -    ul.toc ul ul ul {margin: 0}
   1.224 -    ul.toc li {margin: 0.6em 0; padding: 0}
   1.225 -    ul.toc li li {margin: 0}
   1.226 -    /*
   1.227 -    ul.toc li li li, ul.toc li li li ul {margin-left: 0; display: inline}
   1.228 -    ul.toc li li li ul, ul.toc li li li ul li {margin-left: 0; display: inline}
   1.229 -    */
   1.230 -
   1.231 -    @media all { /* NS4 doesn't align the floats properly :-( */
   1.232 -
   1.233 -    /* Section numbers in a column of their own */
   1.234 -    ul.toc span.secno {margin-right: 1em} /* workaround for Opera6 */
   1.235 -    ul.toc span.secno {float: left; width: 4em; margin-left: -5em}
   1.236 -    /*ul.toc span.secno {text-align: right}*/
   1.237 -    ul.toc li {clear: both}
   1.238 -    ul.toc {margin-left: 5em}
   1.239 -    /* If we had 'tab', floats would not be needed here:
   1.240 -    ul.toc span.secno {tab: 5em right; margin-right: 1em}
   1.241 -    ul.toc li {text-indent: 5em hanging}
   1.242 -    The second line in case items wrap
   1.243 -    */
   1.244 -    }
   1.245 -
   1.246 -    ul.index {
   1.247 -    list-style: disc;   /* Mac NS has problem with 'none' */
   1.248 -    list-style: none;
   1.249 -    }
   1.250 -
   1.251 -    s, del {text-decoration: line-through; color: red}
   1.252 -    u, ins {text-decoration: underline; background: #bfa}
   1.253 -
   1.254 -    div.figure, div.sidefigure {
   1.255 -    text-align: center;
   1.256 -    margin: 2.5em 0;
   1.257 -    }
   1.258 -    div.sidefigure {
   1.259 -    float: right;
   1.260 -    width: 50%;
   1.261 -    margin: 0 0 0.5em 0.5em
   1.262 -    }
   1.263 -    div.figure img, div.sidefigure img {
   1.264 -    display: block;
   1.265 -    margin: auto;
   1.266 -    max-width: 100%
   1.267 -    }
   1.268 -    p.caption, caption {
   1.269 -    text-align: center;
   1.270 -    font-style: italic;
   1.271 -    font-size: 90%;
   1.272 -    margin: 1.5em 2em;
   1.273 -    text-indent: 0;
   1.274 -    }
   1.275 -    p.caption:before {
   1.276 -    content: "Figure " counter(figure) ". ";
   1.277 -    font-weight: bold;
   1.278 -    }
   1.279 -    p.caption {
   1.280 -    counter-increment: figure;
   1.281 -    }
   1.282 -
   1.283 -    /* DL list is indented, but figure inside it is not */
   1.284 -    dd { margin-left: 2em }
   1.285 -    dd div.figure { margin-left: -2em }
   1.286 -
   1.287 -    sup {
   1.288 -    vertical-align: super;
   1.289 -    font-size: 80%
   1.290 -    }
   1.291 -
   1.292 -    /* "Equations" (not real MathML, but simple HTML) are put in a
   1.293 -    blockquote and may have an equation number. We make sure the
   1.294 -    blockquote has enough margin on the right and then put the equation
   1.295 -    number there. */
   1.296 -
   1.297 -    blockquote {
   1.298 -    margin: 0.5em 4em 0.5em 2em;
   1.299 -    text-indent: 0;
   1.300 -    }
   1.301 -    .eqno {
   1.302 -    text-align: right;
   1.303 -    float: right;
   1.304 -    width: 3em;
   1.305 -    margin: 0 -4em 0 0;
   1.306 -    font-weight: bold;
   1.307 -    /* background: silver; color: black; padding: 0.1em */
   1.308 -    }
   1.309 -
   1.310 -    table.equiv-table { border-spacing: 0; margin: 0.5em 0 }
   1.311 -    table.equiv-table th, table.equiv-table td { padding: 0.3em }
   1.312 -    table.equiv-table th { text-align: left }
   1.313 -    /* table.equiv-table th:first-child { text-align: right } */
   1.314 -    table.equiv-table td, table.equiv-table th { border-bottom: thin solid #666 }
   1.315 -    table.equiv-table { border-bottom: hidden }
   1.316 -    table.equiv-table { empty-cells: show }
   1.317 -    table.equiv-table caption { margin: 0.5em 0 0 0 }
   1.318 -
   1.319 -    /* Style for table of properties */
   1.320 -    table.proptable {
   1.321 -    font-size: small;
   1.322 -    border-collapse: collapse;
   1.323 -    border-spacing: 0;
   1.324 -    text-align: left;
   1.325 -    margin: 1em 0;
   1.326 -    }
   1.327 -
   1.328 -    @media print {      /* Use the wide margin in print */
   1.329 -    table.proptable {margin: 1em 0 1em -8.5em}
   1.330 -    }
   1.331 -
   1.332 -    table.proptable td, table.proptable th {
   1.333 -    padding: 0.4em;
   1.334 -    border-style: solid none none dotted;
   1.335 -    border-width: thin;
   1.336 -    border-color: red;
   1.337 -    }
   1.338 -    table.proptable th:first-child, table.proptable td:first-child {
   1.339 -    border-left-style: none;
   1.340 -    }
   1.341 -
   1.342 -
   1.343 -    /* Style for table that defines a property or a descriptor */
   1.344 -    table.propdef, table.propdef-extra, table.descdef {
   1.345 -    border-spacing: 0;
   1.346 -    border-collapse: collapse;
   1.347 -    width: 100%;
   1.348 -    table-layout: fixed;
   1.349 -    background: #DEF;
   1.350 -    margin-top: 1.2em;
   1.351 -    margin-bottom: 1.2em
   1.352 -    }
   1.353 -    table.propdef td, table.propdef-extra td, table.descdef td {
   1.354 -    padding: 0 0.3em;
   1.355 -    vertical-align: baseline;
   1.356 -    }
   1.357 -    /*
   1.358 -    table.propdef dfn, table.propdef-extra dfn, table.descdef dfn {
   1.359 -    font-weight: bold;
   1.360 -    font-style: normal
   1.361 -    }
   1.362 -    */
   1.363 -    table.propdef td:first-child,
   1.364 -    table.propdef-extra td:first-child,
   1.365 -    table.descdef td:first-child {
   1.366 -    font-style: italic;
   1.367 -    width: 8.1em
   1.368 -    }
   1.369 -    table.propdef td[colspan]:first-child,
   1.370 -    table.propdef-extra td[colspan]:first-child,
   1.371 -    table.descdef td[colspan]:first-child {
   1.372 -    font-style: inherit
   1.373 -    }
   1.374 -    table.propdef tr:first-child,
   1.375 -    table.propdef-extra tr:first-child,
   1.376 -    table.descdef tr:first-child {
   1.377 -    background: #005A9C;
   1.378 -    color: white
   1.379 -    }
   1.380 -    /* table.propdef tr:first-child td { padding-top: 0.1em; padding-bottom: 0.1em } */
   1.381 -
   1.382 -    /* This would replace :first-child for Opera, but it confuses WinIE :-( */
   1.383 -    /*
   1.384 -    table.propdef td { width: 8em }
   1.385 -    table.propdef td + td { width: auto }
   1.386 -    table.propdef tr { background: #005A9C; color: white }
   1.387 -    table.propdef tr + tr { background: transparent; color: black }
   1.388 -    */
   1.389 -
   1.390 -    /* CSS modules typically don't use MUST, SHOULD etc. from RFC 2119,
   1.391 -    or, if they do, they don't put them in uppercase. But the following
   1.392 -    class is provided in case a spec wants to use RFC 2119 terms in
   1.393 -    uppercase in the source. */
   1.394 -
   1.395 -    em.rfc2119 {
   1.396 -    text-transform: lowercase;
   1.397 -    font-variant: small-caps;
   1.398 -    font-style: normal
   1.399 -    }
   1.400 -
   1.401 -    /* In Profile specs, a table of required features: */
   1.402 -
   1.403 -    table.features th {
   1.404 -    background: #00589f;
   1.405 -    color: #fff;
   1.406 -    text-align: left;
   1.407 -    padding: 0.2em 0.2em 0.2em 0.5em;
   1.408 -    }
   1.409 -    table.features td {
   1.410 -    vertical-align: top;
   1.411 -    border-bottom: 1px solid #ccc;
   1.412 -    padding: 0.3em 0.3em 0.3em 0.7em;
   1.413 -    }
   1.414 -
   1.415 -    body { line-height: 1.4; }
   1.416 -
   1.417 -    .issue, .todo {
   1.418 -    //display: none;
   1.419 -    margin: 1em;
   1.420 -    border: 2px solid;
   1.421 -    padding: 1em;
   1.422 -    }
   1.423 -    span.issue, span.todo {
   1.424 -    border-width: 1px;
   1.425 -    margin: 0; padding: 0;
   1.426 -    }
   1.427 -    .issue { border-color: red; }
   1.428 -    .todo  { border-color: yellow; }
   1.429 -    .issue:before, .todo:before {
   1.430 -    content: attr(class) ": ";
   1.431 -    text-transform: uppercase;
   1.432 -    font-weight: bold;
   1.433 -    }
   1.434 -    .issue { background: rgb(255,224,224); color: black; }
   1.435 -    .todo { background: rgb(255,255,192); color: black; }
   1.436 -
   1.437 -    .syntax {
   1.438 -    padding: 1em;
   1.439 -    margin: 1em 0;
   1.440 -    border: 1px black solid;
   1.441 -    background: rgb(224,224,255);
   1.442 -    color: black;
   1.443 -    }
   1.444 -    .idl-code { 
   1.445 -    margin: 0;
   1.446 -    font-family: monospace;
   1.447 -    border: 1px solid black;
   1.448 -    color: black; 
   1.449 -    background-color: #dfdfdf;
   1.450 -    }
   1.451 -
   1.452 -    </style>
   1.453 -  </head>
   1.454 -  <body>
   1.455 -    <h1>
   1.456 -      CSS Animation
   1.457 -    </h1>
   1.458 -    <h2>
   1.459 -      21 November 2008
   1.460 -    </h2>
   1.461 -    <dl>
   1.462 -      <dt>
   1.463 -        Authors:
   1.464 -      </dt>
   1.465 -      <dd>
   1.466 -        Dave Hyatt (<a href="mailto:hyatt@apple.com">hyatt@apple.com</a>), <a href="http://www.apple.com/">Apple</a>
   1.467 -      </dd>
   1.468 -      <dd>
   1.469 -        Dean Jackson (<a href="mailto:dino@apple.com">dino@apple.com</a>), <a href="http://www.apple.com/">Apple</a>
   1.470 -      </dd>
   1.471 -      <dd>
   1.472 -        Chris Marrin (<a href="mailto:cmarrin@apple.com">cmarrin@apple.com</a>), <a href="http://www.apple.com/">Apple</a>
   1.473 -      </dd>
   1.474 -    </dl>
   1.475 -    <hr>
   1.476 -    <!-- ======================================================================================================= -->
   1.477 -    <h2>
   1.478 -      1 Introduction
   1.479 -    </h2>
   1.480 -    <p>
   1.481 -      This document introduces new CSS features to enable animation.
   1.482 -    </p>
   1.483 -    <p>
   1.484 -      Animation is currently possible in languages like SVG, but no system exists for the native animation of CSS styles. This proposal introduces <em>defined animations</em>, which specify the values that CSS properties will take over a given time interval.
   1.485 -    </p>
   1.486 -    <p>
   1.487 -      This specification is an extension to <a href="CSSTransitions.html">CSS Transitions</a>.
   1.488 -    </p>
   1.489 -    <h2>
   1.490 -      2 Keyframes
   1.491 -    </h2>
   1.492 -    <p>
   1.493 -      In a simple transition, since both the starting value and ending value
   1.494 -      are known, a single timing function and duration determine the
   1.495 -      intermediate values of the animating property. If finer control of the
   1.496 -      intermediate values is required, keyframes can be used.
   1.497 -    </p>
   1.498 -    <p>
   1.499 -      Keyframes are specified using a specialized CSS at-rule. A <span
   1.500 -      class="prop-name">@keyframes</span> rule consists of the keyword
   1.501 -      "@keyframes", followed by an identifier giving a name for the animation
   1.502 -      (which will be referenced using <span
   1.503 -      class="prop-name">'animation-name'</span>), followed by a set of style
   1.504 -      rules (delimited by curly braces).
   1.505 -    </p>
   1.506 -    <p>
   1.507 -      The <i>keyframe selector</i> for a keyframe style rule consists of a
   1.508 -      comma-separated list of percentage values or the keywords 'from' or
   1.509 -      'to'. The selector is used to specify the percentage along the duration
   1.510 -      of the animation that the keyframe represents. The
   1.511 -      keyframe itself is specified by the block of property values declared on
   1.512 -      the selector. The keyword 'from' is equivalent to the value 0. The
   1.513 -      keyword 'to' is equivalent to the value 100%. Note that the percentage
   1.514 -      unit specifier must be used on percentage values. Therefore, "0" is an
   1.515 -      invalid keyframe selector.
   1.516 -    </p>
   1.517 -    <p>
   1.518 -      Keyframes can be specified in any order. The selector determines 
   1.519 -      the placement of the keyframe in the animation.
   1.520 -    </p>
   1.521 -    <p>
   1.522 -      Every keyframe declaration must have a keyframe rule for 
   1.523 -      0% or 100%, possibly defined using "from" or "to". A keyframe
   1.524 -      declaration without these keyframe selectors is invalid and will not
   1.525 -      be available for animation.
   1.526 -    </p>
   1.527 -    <p>
   1.528 -      The <i>keyframe declaration</i> for a keyframe rule consists of
   1.529 -      properties and values. Properties that are unable to be
   1.530 -      animated are ignored in these rules, with the exception of <span
   1.531 -      class="prop-name">animation-timing-function'</span>, the behavior 
   1.532 -      of which is described below.
   1.533 -    </p>
   1.534 -    <p>
   1.535 -      The @keyframes rule that is used by an animation will be the last one encountered in sorted rules order that matches the name of the animation. <span class="prop-name">@keyframes</span> rules do not cascade; therefore an animation will never derive keyframes from more than one <span class="prop-name">@keyframes</span> rule.
   1.536 -    </p>
   1.537 -    <p>
   1.538 -      To determine the set of keyframes, all of the values in selectors are sorted in increasing order by time. If there are any duplicates, then the last keyframe specified inside the <span class="prop-name">@keyframes</span> rule will be used to provide the keyframe information for that time. There is no cascading within a <span class="prop-name">@keyframes</span> rule if multiple keyframes specify the same keyframe selector values.
   1.539 -    </p>
   1.540 -    <div class="example">
   1.541 -      <p style="display:none">
   1.542 -        Example(s):
   1.543 -      </p>
   1.544 -      <pre>
   1.545 -@keyframes 'wobble' {
   1.546 -  
   1.547 -  0% {
   1.548 -    left: 100px;
   1.549 -  }
   1.550 -
   1.551 -  40% {
   1.552 -    left: 150px;
   1.553 -  }
   1.554 -  
   1.555 -  60% {
   1.556 -    left: 75px;
   1.557 -  }
   1.558 -  
   1.559 -  100% {
   1.560 -    left: 100px;
   1.561 -  }
   1.562 -  
   1.563 -}
   1.564 -  
   1.565 -</pre>Four keyframes are specified for the animation named "wobble". In the first keyframe, shown at the beginning of the animation cycle, the 'left' value of the animation is 100px. By 40% of the animation duration, 'left' value has animated to 150px. At 60% of the animation duration, the 'left' value has animated back to 75px. At the end of the animation cycle, the 'left' value has returned to 100px. The diagram below shows the state of the animation if it were given a duration of 10s.
   1.566 -      <div class="figure">
   1.567 -        <img src="animation1.png" alt="">
   1.568 -      </div>
   1.569 -      <p class="caption">
   1.570 -        Animations states specified by keyframes
   1.571 -      </p>
   1.572 -    </div>
   1.573 -    
   1.574 -    <p>
   1.575 -      The following is the grammar for the keyframes rule.
   1.576 -    </p>
   1.577 -    
   1.578 -    <pre>
   1.579 -      keyframes-rule: '@keyframes' IDENT '{' keyframes-blocks '}';
   1.580 -
   1.581 -      keyframes-blocks: [ keyframe-selectors block ]* ;
   1.582 -
   1.583 -      keyframe-selectors: [ 'from' | 'to' | PERCENTAGE ] [ ',' [ 'from' | 'to' | PERCENTAGE ] ]*;
   1.584 -    </pre>
   1.585 -    <!-- ======================================================================================================= -->
   1.586 -    <h3>
   1.587 -      2.1 Timing functions for keyframes
   1.588 -    </h3>
   1.589 -    <p>
   1.590 -      A keyframe style rule may also declare the timing function that is to be used as the animation moves to the next keyframe.
   1.591 -    </p>
   1.592 -    <div class="example">
   1.593 -      <p style="display:none">
   1.594 -        Example(s):
   1.595 -      </p>
   1.596 -      <pre>
   1.597 -@keyframes 'bounce' {
   1.598 -
   1.599 -  from {
   1.600 -    top: 100px;
   1.601 -    animation-timing-function: ease-out;
   1.602 -  }
   1.603 -
   1.604 -  25% {
   1.605 -    top: 50px;
   1.606 -    animation-timing-function: ease-in;
   1.607 -  }
   1.608 -
   1.609 -  50% {
   1.610 -    top: 100px;
   1.611 -    animation-timing-function: ease-out;
   1.612 -  }
   1.613 -
   1.614 -  75% {
   1.615 -    top: 75px;
   1.616 -    animation-timing-function: ease-in;
   1.617 -  }
   1.618 -
   1.619 -  to {
   1.620 -    top: 100px;
   1.621 -  }
   1.622 -
   1.623 -}
   1.624 -  
   1.625 -</pre>Five keyframes are specified for the animation named "bounce". Between the first and second keyframe (ie. between 0 and 25%) an "ease-out" timing function is used. Between the second and third keyframe (ie. between 25% and 50%) an "ease-in" timing function is used. And so on. The effect will appear as an element that moves up the page 50px, slowing down as it reaches its highest point then speeding up as it falls back to 100px. The second half of the animation behaves in a similar manner, but only moves the element 25px units up the page.
   1.626 -    </div>
   1.627 -    <p>
   1.628 -      See <a href="#animation-timing-function_tag">the <span class="prop-name">'animation-timing-function'</span> property</a> for more information.
   1.629 -    </p><!-- ======================================================================================================= -->
   1.630 -    <h2>
   1.631 -      3 Animations
   1.632 -    </h2>
   1.633 -    <p>
   1.634 -      Animations are similar to transitions in that they change the presentational value of CSS properties over time. The principal difference is that while transitions trigger <i>implicitly</i> when property values change, animations are <i>explicitly</i> executed when the animation properties are applied. Because of this, animations require explicit values for the properties being animated. These values are specified using animation keyframes, described above.
   1.635 -    </p>
   1.636 -    <p>
   1.637 -      Many aspects of the animation can be controlled, including how many times the animation iterates, whether or not it alternates between the begin and end values, and whether or not the animation should be running or paused. An animation can also delay its start time.
   1.638 -    </p>
   1.639 -    <div class="example">
   1.640 -      <p style="display:none">
   1.641 -        Example(s):
   1.642 -      </p>
   1.643 -      <pre>
   1.644 -div {
   1.645 -  animation-name: 'diagonal-slide';
   1.646 -  animation-duration: 5s;
   1.647 -  animation-iteration-count: 10;
   1.648 -}
   1.649 -
   1.650 -@keyframes 'diagonal-slide' {
   1.651 -  
   1.652 -  from {
   1.653 -    left: 0;
   1.654 -    top: 0;
   1.655 -  }
   1.656 -
   1.657 -  to {
   1.658 -    left: 100px;
   1.659 -    top: 100px;
   1.660 -  }
   1.661 -  
   1.662 -}
   1.663 -  
   1.664 -</pre>This will produce an animation that moves an element from (0, 0) to (100px, 100px) over five seconds and repeats itself nine times (for a total of ten iterations).
   1.665 -    </div>
   1.666 -    <!-- ======================================================================================================= -->
   1.667 -    <h3>
   1.668 -      3.1 Animation behavior
   1.669 -    </h3>
   1.670 -
   1.671 -    <p>
   1.672 -      CSS Animations affect computed property values. During the execution of an animation, the
   1.673 -      computed value for a property is controlled by the animation. This overrides the value
   1.674 -      specified in the normal styling system.
   1.675 -    </p>
   1.676 -    
   1.677 -    <p>
   1.678 -      In the case of multiple animations specifying behavior for the same property, the animation
   1.679 -      defined last will override the previously defined animations.
   1.680 -    </p>
   1.681 -    
   1.682 -    <p>
   1.683 -      An animation does not affect the computed value before the application of the animation,
   1.684 -      before the animation delay has expired, and after the end of the animation.
   1.685 -    </p>
   1.686 -    
   1.687 -    <div class="figure">
   1.688 -      <img src="sandwich.png" alt="">
   1.689 -    </div>
   1.690 -    <p class="caption">
   1.691 -      Computation of animated property values
   1.692 -    </p>
   1.693 -    
   1.694 -    <p>
   1.695 -      The diagram above shows how property values are computed. The intrinsic style is shown at the
   1.696 -      top of the diagram. The computed value is derived from intrinsic style at the times when an
   1.697 -      animation is not running and also when an animation is delayed (see below for specification of
   1.698 -      animation delay). During an animation, the computed style is derived from the animated value.
   1.699 -    </p>
   1.700 -
   1.701 -    <p>
   1.702 -      The start time of an animation is the latter of two moments: the time at which the style is
   1.703 -      resolved that specifies the animation, or the time the document's load event is fired.
   1.704 -      Therefore, an animation specified in the document stylesheet will begin at the document load.
   1.705 -      An animation specified on an element by modifying the style after the document has loaded will
   1.706 -      start when the style is resolved. That may be immediately in the case of a pseudo style rule
   1.707 -      such as hover, or may be when the scripting engine returns control to the browser (in the case
   1.708 -      of style applied by script).
   1.709 -    </p>
   1.710 -
   1.711 -    <p>
   1.712 -      An animation applies to an element if the element has a value for
   1.713 -      <span class="prop-name">'animation-name'</span> that references a valid
   1.714 -      keyframes rule. Once an animation has started it continues until it ends
   1.715 -      or the <span class="prop-name">'animation-name'</span> is removed. The values
   1.716 -      used for the keyframes and animation properties are snapshotted at the
   1.717 -      time the animation starts. Changing them during the execution of the
   1.718 -      animation has no effect. Note also, that changing the value of 
   1.719 -      <span class="prop-name">'animation-name'</span> does not necessarily
   1.720 -      restart an animation (e.g. if a list of animations are applied and
   1.721 -      one is removed from the list, only that animation will stop; The other
   1.722 -      animations will continue). In order to restart an animation, it must be
   1.723 -      removed then reapplied. 
   1.724 -    </p>
   1.725 -
   1.726 -    <!-- ======================================================================================================= -->
   1.727 -    <h3>
   1.728 -      3.2 The <span class="prop-name">'animation-name'</span> Property
   1.729 -    </h3>
   1.730 -    <p>
   1.731 -      The <span class="prop-name">'animation-name'</span> property defines a
   1.732 -      list of animations that apply. Each name is used to select the keyframe at-rule
   1.733 -      that provides the property values for the animation. If the name does
   1.734 -      not match any keyframe at-rule, there are no properties to be animated
   1.735 -      and the animation will not execute. Furthermore, if the animation name
   1.736 -      is 'none' then there will be no animation. This can be used to override
   1.737 -      any animations coming from the cascade.
   1.738 -    </p>
   1.739 -    <table class="propdef">
   1.740 -      <tbody>
   1.741 -        <tr>
   1.742 -          <td>
   1.743 -            <em>Name:</em>
   1.744 -          </td>
   1.745 -          <td>
   1.746 -            <dfn id="animation-name">animation-name</dfn>
   1.747 -          </td>
   1.748 -        </tr>
   1.749 -        <tr>
   1.750 -          <td>
   1.751 -            <em>Value:</em>
   1.752 -          </td>
   1.753 -          <td>
   1.754 -            none | IDENT [, none | IDENT ]*
   1.755 -          </td>
   1.756 -        </tr>
   1.757 -        <tr>
   1.758 -          <td>
   1.759 -            <em>Initial:</em>
   1.760 -          </td>
   1.761 -          <td>
   1.762 -            none
   1.763 -          </td>
   1.764 -        </tr>
   1.765 -        <tr>
   1.766 -          <td>
   1.767 -            <em>Applies&nbsp;to:</em>
   1.768 -          </td>
   1.769 -          <td>
   1.770 -            block-level and inline-level elements
   1.771 -          </td>
   1.772 -        </tr>
   1.773 -        <tr>
   1.774 -          <td>
   1.775 -            <em>Inherited:</em>
   1.776 -          </td>
   1.777 -          <td>
   1.778 -            no
   1.779 -          </td>
   1.780 -        </tr>
   1.781 -        <tr>
   1.782 -          <td>
   1.783 -            <em>Percentages:</em>
   1.784 -          </td>
   1.785 -          <td>
   1.786 -            N/A
   1.787 -          </td>
   1.788 -        </tr>
   1.789 -        <tr>
   1.790 -          <td>
   1.791 -            <em>Media:</em>
   1.792 -          </td>
   1.793 -          <td>
   1.794 -            visual
   1.795 -          </td>
   1.796 -        </tr>
   1.797 -        <tr>
   1.798 -          <td>
   1.799 -            <em>Computed value:</em>
   1.800 -          </td>
   1.801 -          <td>
   1.802 -            Same as specified value.
   1.803 -          </td>
   1.804 -        </tr>
   1.805 -      </tbody>
   1.806 -    </table>
   1.807 -    
   1.808 -    <!--
   1.809 -    <p>
   1.810 -      It is possible for elements to have multiple animations running that change the same property or properties. In this case the animations combine in a manner defined by the property. For example, animations on <span class="prop-name">opacity</span> will add together and animations on <span class="prop-name">transform</span> will have their transformation matrices multiplied.
   1.811 -    </p>
   1.812 -    <div class="example">
   1.813 -      <p style="display:none">
   1.814 -        Example(s):
   1.815 -      </p>
   1.816 -      <pre>
   1.817 -      @keyframes 'border-bloat' {
   1.818 -        from {
   1.819 -          border-width: 0;
   1.820 -        }
   1.821 -        to {
   1.822 -          border-width: 10px;
   1.823 -        }
   1.824 -      }
   1.825 -
   1.826 -      @keyframes 'border-diet' {
   1.827 -        from {
   1.828 -          border-width: 4px;
   1.829 -        }
   1.830 -        to {
   1.831 -          border-width: 2px;
   1.832 -        }
   1.833 -      }
   1.834 -      
   1.835 -      div {
   1.836 -        animation-name: 'border-bloat', 'border-diet';
   1.837 -        animation-duration: 10s, 4s;
   1.838 -      }
   1.839 -    </pre>
   1.840 -    <p>
   1.841 -    The above example has two animations executing on the same property, <span class="prop-name">border-width</span>. The animations are additive. That is, the 
   1.842 -    resulting value for the property will be the addition of the values from the
   1.843 -    two animations.
   1.844 -    </p>
   1.845 -    <p>
   1.846 -      At time '0s' the element's border will be 4px wide (0px from 'border-bloat' plus 4px from 'border-diet'). 
   1.847 -      At time '4s' the element's border will be 6px wide (4px from 'border-bloat' plus 2px from 'border-diet').
   1.848 -      At time '10s' the element's border will be 10px wide (10px from 'border-bloat' and no addition from
   1.849 -      'border-diet' as it is no longer executing).
   1.850 -    </p>
   1.851 -  </div>
   1.852 --->
   1.853 -
   1.854 -
   1.855 -    <!-- ======================================================================================================= -->
   1.856 -    <h3>
   1.857 -      3.3 The <span class="prop-name">'animation-duration'</span> Property
   1.858 -    </h3>
   1.859 -    <p>
   1.860 -      The <span class="prop-name">'animation-duration'</span> property defines the length of time that an animation takes to complete one cycle.
   1.861 -    </p>
   1.862 -    <table class="propdef">
   1.863 -      <tbody>
   1.864 -        <tr>
   1.865 -          <td>
   1.866 -            <em>Name:</em>
   1.867 -          </td>
   1.868 -          <td>
   1.869 -            <dfn id="animation-duration">animation-duration</dfn>
   1.870 -          </td>
   1.871 -        </tr>
   1.872 -        <tr>
   1.873 -          <td>
   1.874 -            <em>Value:</em>
   1.875 -          </td>
   1.876 -          <td>
   1.877 -            &lt;time&gt; [, &lt;time&gt;]*
   1.878 -          </td>
   1.879 -        </tr>
   1.880 -        <tr>
   1.881 -          <td>
   1.882 -            <em>Initial:</em>
   1.883 -          </td>
   1.884 -          <td>
   1.885 -            0
   1.886 -          </td>
   1.887 -        </tr>
   1.888 -        <tr>
   1.889 -          <td>
   1.890 -            <em>Applies&nbsp;to:</em>
   1.891 -          </td>
   1.892 -          <td>
   1.893 -            block-level and inline-level elements
   1.894 -          </td>
   1.895 -        </tr>
   1.896 -        <tr>
   1.897 -          <td>
   1.898 -            <em>Inherited:</em>
   1.899 -          </td>
   1.900 -          <td>
   1.901 -            no
   1.902 -          </td>
   1.903 -        </tr>
   1.904 -        <tr>
   1.905 -          <td>
   1.906 -            <em>Percentages:</em>
   1.907 -          </td>
   1.908 -          <td>
   1.909 -            N/A
   1.910 -          </td>
   1.911 -        </tr>
   1.912 -        <tr>
   1.913 -          <td>
   1.914 -            <em>Media:</em>
   1.915 -          </td>
   1.916 -          <td>
   1.917 -            visual
   1.918 -          </td>
   1.919 -        </tr>
   1.920 -        <tr>
   1.921 -          <td>
   1.922 -            <em>Computed value:</em>
   1.923 -          </td>
   1.924 -          <td>
   1.925 -            Same as specified value.
   1.926 -          </td>
   1.927 -        </tr>
   1.928 -      </tbody>
   1.929 -    </table>
   1.930 -    
   1.931 -    <p>
   1.932 -      By default the value is '0', meaning that the animation cycle is immediate (i.e. there will be no animation). A negative value for <span class="prop-name">animation-duration</span> is treated as '0'.
   1.933 -    </p>
   1.934 -    
   1.935 -    <!-- ======================================================================================================= -->
   1.936 -    <h3 id="animation-timing-function_tag">
   1.937 -      3.4 The <span class="prop-name">'animation-timing-function'</span> Property
   1.938 -    </h3>
   1.939 -    <p>
   1.940 -      The <span class="prop-name">'animation-timing-function'</span> property describes how the animation will progress over one cycle of its duration. See <a href="CSSTransitions.html#transition-timing-function_tag">the <span class="prop-name">'transition-timing-function'</span> property</a> for a complete description of timing function calculation.
   1.941 -    </p>
   1.942 -    <table class="propdef">
   1.943 -      <tbody>
   1.944 -        <tr>
   1.945 -          <td>
   1.946 -            <em>Name:</em>
   1.947 -          </td>
   1.948 -          <td>
   1.949 -            <dfn id="animation-timing-function">animation-timing-function</dfn>
   1.950 -          </td>
   1.951 -        </tr>
   1.952 -        <tr>
   1.953 -          <td>
   1.954 -            <em>Value:</em>
   1.955 -          </td>
   1.956 -          <td>
   1.957 -            ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) [, ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;)]*
   1.958 -          </td>
   1.959 -        </tr>
   1.960 -        <tr>
   1.961 -          <td>
   1.962 -            <em>Initial:</em>
   1.963 -          </td>
   1.964 -          <td>
   1.965 -            ease
   1.966 -          </td>
   1.967 -        </tr>
   1.968 -        <tr>
   1.969 -          <td>
   1.970 -            <em>Applies&nbsp;to:</em>
   1.971 -          </td>
   1.972 -          <td>
   1.973 -            block-level and inline-level elements
   1.974 -          </td>
   1.975 -        </tr>
   1.976 -        <tr>
   1.977 -          <td>
   1.978 -            <em>Inherited:</em>
   1.979 -          </td>
   1.980 -          <td>
   1.981 -            no
   1.982 -          </td>
   1.983 -        </tr>
   1.984 -        <tr>
   1.985 -          <td>
   1.986 -            <em>Percentages:</em>
   1.987 -          </td>
   1.988 -          <td>
   1.989 -            N/A
   1.990 -          </td>
   1.991 -        </tr>
   1.992 -        <tr>
   1.993 -          <td>
   1.994 -            <em>Media:</em>
   1.995 -          </td>
   1.996 -          <td>
   1.997 -            visual
   1.998 -          </td>
   1.999 -        </tr>
  1.1000 -        <tr>
  1.1001 -          <td>
  1.1002 -            <em>Computed value:</em>
  1.1003 -          </td>
  1.1004 -          <td>
  1.1005 -            Same as specified value.
  1.1006 -          </td>
  1.1007 -        </tr>
  1.1008 -      </tbody>
  1.1009 -    </table>
  1.1010 -    
  1.1011 -    <p>
  1.1012 -      For a keyframed animation, the <span class="prop-name">'animation-timing-function'</span> applies
  1.1013 -      between keyframes, not over the entire animation. For example, in the case of an ease-in-out timing function, an animation will ease in at the start of the keyframe and ease out at the end of the keyframe. A <span class="prop-name">'animation-timing-function'</span> defined within a keyframe block applies to that keyframe, otherwise the timing function specified for the animation is used.
  1.1014 -    </p>
  1.1015 -    
  1.1016 -    <!-- ======================================================================================================= -->
  1.1017 -    <h3>
  1.1018 -      3.5 The <span class="prop-name">'animation-iteration-count'</span> Property
  1.1019 -    </h3>
  1.1020 -    <p>
  1.1021 -      The <span class="prop-name">'animation-iteration-count'</span> property defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once. A value of <span class="prop-value">'infinite'</span> will cause the animation to repeat forever. Non-integer numbers will cause the animation to end part-way through a cycle. Negative values for <span class="prop-name">'animation-iteration-count'</span> are treated as zero. This property is often used with an <span class="prop-name">'animation-direction'</span> value of <span class="prop-value">'alternate'</span>, which will cause the animation to play in reverse on alternate cycles.
  1.1022 -    </p>
  1.1023 -    <table class="propdef">
  1.1024 -      <tbody>
  1.1025 -        <tr>
  1.1026 -          <td>
  1.1027 -            <em>Name:</em>
  1.1028 -          </td>
  1.1029 -          <td>
  1.1030 -            <dfn id="animation-iteration-count">animation-iteration-count</dfn>
  1.1031 -          </td>
  1.1032 -        </tr>
  1.1033 -        <tr>
  1.1034 -          <td>
  1.1035 -            <em>Value:</em>
  1.1036 -          </td>
  1.1037 -          <td>
  1.1038 -            infinite | &lt;number&gt; [, infinite | &lt;number&gt;]*
  1.1039 -          </td>
  1.1040 -        </tr>
  1.1041 -        <tr>
  1.1042 -          <td>
  1.1043 -            <em>Initial:</em>
  1.1044 -          </td>
  1.1045 -          <td>
  1.1046 -            1
  1.1047 -          </td>
  1.1048 -        </tr>
  1.1049 -        <tr>
  1.1050 -          <td>
  1.1051 -            <em>Applies&nbsp;to:</em>
  1.1052 -          </td>
  1.1053 -          <td>
  1.1054 -            block-level and inline-level elements
  1.1055 -          </td>
  1.1056 -        </tr>
  1.1057 -        <tr>
  1.1058 -          <td>
  1.1059 -            <em>Inherited:</em>
  1.1060 -          </td>
  1.1061 -          <td>
  1.1062 -            no
  1.1063 -          </td>
  1.1064 -        </tr>
  1.1065 -        <tr>
  1.1066 -          <td>
  1.1067 -            <em>Percentages:</em>
  1.1068 -          </td>
  1.1069 -          <td>
  1.1070 -            N/A
  1.1071 -          </td>
  1.1072 -        </tr>
  1.1073 -        <tr>
  1.1074 -          <td>
  1.1075 -            <em>Media:</em>
  1.1076 -          </td>
  1.1077 -          <td>
  1.1078 -            visual
  1.1079 -          </td>
  1.1080 -        </tr>
  1.1081 -        <tr>
  1.1082 -          <td>
  1.1083 -            <em>Computed value:</em>
  1.1084 -          </td>
  1.1085 -          <td>
  1.1086 -            Same as specified value.
  1.1087 -          </td>
  1.1088 -        </tr>
  1.1089 -      </tbody>
  1.1090 -    </table><!-- ======================================================================================================= -->
  1.1091 -    <h3>
  1.1092 -      3.6 The <span class="prop-name">'animation-direction'</span> Property
  1.1093 -    </h3>
  1.1094 -    <p>
  1.1095 -      The <span class="prop-name">'animation-direction'</span> property defines whether or not the animation should play in reverse on alternate cycles. If <span class="prop-value">'alternate'</span> is specified, the animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction. When an animation is played in reverse the timing functions are also reversed. For example, when played in reverse an ease-in animation would appear to be an ease-out animation.
  1.1096 -    </p>
  1.1097 -    <table class="propdef">
  1.1098 -      <tbody>
  1.1099 -        <tr>
  1.1100 -          <td>
  1.1101 -            <em>Name:</em>
  1.1102 -          </td>
  1.1103 -          <td>
  1.1104 -            <dfn id="animation-direction">animation-direction</dfn>
  1.1105 -          </td>
  1.1106 -        </tr>
  1.1107 -        <tr>
  1.1108 -          <td>
  1.1109 -            <em>Value:</em>
  1.1110 -          </td>
  1.1111 -          <td>
  1.1112 -            normal | alternate [, normal | alternate]*
  1.1113 -          </td>
  1.1114 -        </tr>
  1.1115 -        <tr>
  1.1116 -          <td>
  1.1117 -            <em>Initial:</em>
  1.1118 -          </td>
  1.1119 -          <td>
  1.1120 -            normal
  1.1121 -          </td>
  1.1122 -        </tr>
  1.1123 -        <tr>
  1.1124 -          <td>
  1.1125 -            <em>Applies&nbsp;to:</em>
  1.1126 -          </td>
  1.1127 -          <td>
  1.1128 -            block-level and inline-level elements
  1.1129 -          </td>
  1.1130 -        </tr>
  1.1131 -        <tr>
  1.1132 -          <td>
  1.1133 -            <em>Inherited:</em>
  1.1134 -          </td>
  1.1135 -          <td>
  1.1136 -            no
  1.1137 -          </td>
  1.1138 -        </tr>
  1.1139 -        <tr>
  1.1140 -          <td>
  1.1141 -            <em>Percentages:</em>
  1.1142 -          </td>
  1.1143 -          <td>
  1.1144 -            N/A
  1.1145 -          </td>
  1.1146 -        </tr>
  1.1147 -        <tr>
  1.1148 -          <td>
  1.1149 -            <em>Media:</em>
  1.1150 -          </td>
  1.1151 -          <td>
  1.1152 -            visual
  1.1153 -          </td>
  1.1154 -        </tr>
  1.1155 -        <tr>
  1.1156 -          <td>
  1.1157 -            <em>Computed value:</em>
  1.1158 -          </td>
  1.1159 -          <td>
  1.1160 -            Same as specified value.
  1.1161 -          </td>
  1.1162 -        </tr>
  1.1163 -      </tbody>
  1.1164 -    </table><!-- ======================================================================================================= -->
  1.1165 -    <h3>
  1.1166 -      3.7 The <span class="prop-name">'animation-play-state'</span> Property
  1.1167 -    </h3>
  1.1168 -    
  1.1169 -    <div class="issue">
  1.1170 -      We are considering removing 'animation-play-state' since its behaviour can
  1.1171 -      be replicated using other techniques. For example, by querying the 
  1.1172 -      computed style, removing the animation and then setting style.
  1.1173 -    </div>
  1.1174 -    
  1.1175 -    <p>
  1.1176 -      The <span class="prop-name">'animation-play-state'</span> property defines whether the animation is running or paused. A running animation can be paused by setting this property to <span class="prop-value">'paused'</span>. To continue running a paused animation this property can be set to <span class="prop-value">'running'</span>. A paused animation will continue to display the current value of the animation in a static state, as if the time of the animation is constant. When a paused animation is resumed, it restarts from the current value, not necessarily from the beginning of the animation.
  1.1177 -    </p>
  1.1178 -    <table class="propdef">
  1.1179 -      <tbody>
  1.1180 -        <tr>
  1.1181 -          <td>
  1.1182 -            <em>Name:</em>
  1.1183 -          </td>
  1.1184 -          <td>
  1.1185 -            <dfn id="animation-play-state">animation-play-state</dfn>
  1.1186 -          </td>
  1.1187 -        </tr>
  1.1188 -        <tr>
  1.1189 -          <td>
  1.1190 -            <em>Value:</em>
  1.1191 -          </td>
  1.1192 -          <td>
  1.1193 -            running | paused [, running | paused]*
  1.1194 -          </td>
  1.1195 -        </tr>
  1.1196 -        <tr>
  1.1197 -          <td>
  1.1198 -            <em>Initial:</em>
  1.1199 -          </td>
  1.1200 -          <td>
  1.1201 -            running
  1.1202 -          </td>
  1.1203 -        </tr>
  1.1204 -        <tr>
  1.1205 -          <td>
  1.1206 -            <em>Applies&nbsp;to:</em>
  1.1207 -          </td>
  1.1208 -          <td>
  1.1209 -            block-level and inline-level elements
  1.1210 -          </td>
  1.1211 -        </tr>
  1.1212 -        <tr>
  1.1213 -          <td>
  1.1214 -            <em>Inherited:</em>
  1.1215 -          </td>
  1.1216 -          <td>
  1.1217 -            no
  1.1218 -          </td>
  1.1219 -        </tr>
  1.1220 -        <tr>
  1.1221 -          <td>
  1.1222 -            <em>Percentages:</em>
  1.1223 -          </td>
  1.1224 -          <td>
  1.1225 -            N/A
  1.1226 -          </td>
  1.1227 -        </tr>
  1.1228 -        <tr>
  1.1229 -          <td>
  1.1230 -            <em>Media:</em>
  1.1231 -          </td>
  1.1232 -          <td>
  1.1233 -            visual
  1.1234 -          </td>
  1.1235 -        </tr>
  1.1236 -        <tr>
  1.1237 -          <td>
  1.1238 -            <em>Computed value:</em>
  1.1239 -          </td>
  1.1240 -          <td>
  1.1241 -            Same as specified value.
  1.1242 -          </td>
  1.1243 -        </tr>
  1.1244 -      </tbody>
  1.1245 -    </table><!-- ======================================================================================================= -->
  1.1246 -    <h3>
  1.1247 -      3.8 The <span class="prop-name">'animation-delay'</span> Property
  1.1248 -    </h3>
  1.1249 -    <p>
  1.1250 -      The <span class="prop-name">'animation-delay'</span> property defines when the animation will start. It allows an animation to begin execution some time after it is applied. An <span class="prop-name">'animation-delay'</span> value of '0' means the animation will execute as soon as it is applied. Otherwise, the value specifies an offset from the moment the animation is applied, and the animation will delay execution by that offset.
  1.1251 -    </p>
  1.1252 -    <p>
  1.1253 -      If the value for <span class="prop-name">'animation-delay'</span> is a negative time offset then the animation will execute the moment it is applied, but will appear to have begun execution at the specified offset. That is, the animation will appear to begin part-way through its play cycle. In the case where an animation has implied starting values and a negative <span class="prop-name">'animation-delay'</span>, the starting values are taken from the moment the animation is applied.
  1.1254 -    </p>
  1.1255 -    <table class="propdef">
  1.1256 -      <tbody>
  1.1257 -        <tr>
  1.1258 -          <td>
  1.1259 -            <em>Name:</em>
  1.1260 -          </td>
  1.1261 -          <td>
  1.1262 -            <dfn id="animation-trigger">animation-delay</dfn>
  1.1263 -          </td>
  1.1264 -        </tr>
  1.1265 -        <tr>
  1.1266 -          <td>
  1.1267 -            <em>Value:</em>
  1.1268 -          </td>
  1.1269 -          <td>
  1.1270 -            &lt;time&gt; [, &lt;time&gt;]*
  1.1271 -          </td>
  1.1272 -        </tr>
  1.1273 -        <tr>
  1.1274 -          <td>
  1.1275 -            <em>Initial:</em>
  1.1276 -          </td>
  1.1277 -          <td>
  1.1278 -            0
  1.1279 -          </td>
  1.1280 -        </tr>
  1.1281 -        <tr>
  1.1282 -          <td>
  1.1283 -            <em>Applies&nbsp;to:</em>
  1.1284 -          </td>
  1.1285 -          <td>
  1.1286 -            block-level and inline-level elements
  1.1287 -          </td>
  1.1288 -        </tr>
  1.1289 -        <tr>
  1.1290 -          <td>
  1.1291 -            <em>Inherited:</em>
  1.1292 -          </td>
  1.1293 -          <td>
  1.1294 -            no
  1.1295 -          </td>
  1.1296 -        </tr>
  1.1297 -        <tr>
  1.1298 -          <td>
  1.1299 -            <em>Percentages:</em>
  1.1300 -          </td>
  1.1301 -          <td>
  1.1302 -            N/A
  1.1303 -          </td>
  1.1304 -        </tr>
  1.1305 -        <tr>
  1.1306 -          <td>
  1.1307 -            <em>Media:</em>
  1.1308 -          </td>
  1.1309 -          <td>
  1.1310 -            visual
  1.1311 -          </td>
  1.1312 -        </tr>
  1.1313 -        <tr>
  1.1314 -          <td>
  1.1315 -            <em>Computed value:</em>
  1.1316 -          </td>
  1.1317 -          <td>
  1.1318 -            Same as specified value.
  1.1319 -          </td>
  1.1320 -        </tr>
  1.1321 -      </tbody>
  1.1322 -    </table><!-- ======================================================================================================= -->
  1.1323 -    <h3>
  1.1324 -      3.9 The <span class="prop-name">'animation'</span> Shorthand Property
  1.1325 -    </h3>
  1.1326 -    <p>
  1.1327 -      The <span class="prop-name">'animation'</span> shorthand property combines six of the animation properties into a single property.
  1.1328 -    </p>
  1.1329 -    <table class="propdef">
  1.1330 -      <tbody>
  1.1331 -        <tr>
  1.1332 -          <td>
  1.1333 -            <em>Name:</em>
  1.1334 -          </td>
  1.1335 -          <td>
  1.1336 -            <dfn id="animation">animation</dfn>
  1.1337 -          </td>
  1.1338 -        </tr>
  1.1339 -        <tr>
  1.1340 -          <td>
  1.1341 -            <em>Value:</em>
  1.1342 -          </td>
  1.1343 -          <td>
  1.1344 -            [&lt;animation-name&gt; || 
  1.1345 -            &lt;animation-duration&gt; ||
  1.1346 -            &lt;animation-timing-function&gt; ||
  1.1347 -            &lt;animation-delay&gt; ||
  1.1348 -            &lt;animation-iteration-count&gt; ||
  1.1349 -            &lt;animation-direction&gt;]
  1.1350 -            [, [&lt;animation-name&gt; ||
  1.1351 -            &lt;animation-duration&gt; ||
  1.1352 -            &lt;animation-timing-function&gt; ||
  1.1353 -            &lt;animation-delay&gt; ||
  1.1354 -            &lt;animation-iteration-count&gt; ||
  1.1355 -            &lt;animation-direction&gt;] ]*
  1.1356 -          </td>
  1.1357 -        </tr>
  1.1358 -        <tr>
  1.1359 -          <td>
  1.1360 -            <em>Initial:</em>
  1.1361 -          </td>
  1.1362 -          <td>
  1.1363 -            see individual properties
  1.1364 -          </td>
  1.1365 -        </tr>
  1.1366 -        <tr>
  1.1367 -          <td>
  1.1368 -            <em>Applies&nbsp;to:</em>
  1.1369 -          </td>
  1.1370 -          <td>
  1.1371 -            block-level and inline-level elements
  1.1372 -          </td>
  1.1373 -        </tr>
  1.1374 -        <tr>
  1.1375 -          <td>
  1.1376 -            <em>Inherited:</em>
  1.1377 -          </td>
  1.1378 -          <td>
  1.1379 -            no
  1.1380 -          </td>
  1.1381 -        </tr>
  1.1382 -        <tr>
  1.1383 -          <td>
  1.1384 -            <em>Percentages:</em>
  1.1385 -          </td>
  1.1386 -          <td>
  1.1387 -            N/A
  1.1388 -          </td>
  1.1389 -        </tr>
  1.1390 -        <tr>
  1.1391 -          <td>
  1.1392 -            <em>Media:</em>
  1.1393 -          </td>
  1.1394 -          <td>
  1.1395 -            visual
  1.1396 -          </td>
  1.1397 -        </tr>
  1.1398 -        <tr>
  1.1399 -          <td>
  1.1400 -            <em>Computed value:</em>
  1.1401 -          </td>
  1.1402 -          <td>
  1.1403 -            Same as specified value.
  1.1404 -          </td>
  1.1405 -        </tr>
  1.1406 -      </tbody>
  1.1407 -    </table><!-- ======================================================================================================= -->
  1.1408 -    <h2>
  1.1409 -      4 Animation Events
  1.1410 -    </h2>
  1.1411 -    <p>
  1.1412 -      Several animation related events are available through the <a
  1.1413 -      href="http://www.w3.org/TR/DOM-Level-2-Events/events.html">DOM Event
  1.1414 -      system</a>. The start and end of an animation, and the end of each
  1.1415 -      iteration of an animation all generate DOM events. An element can have
  1.1416 -      multiple properties being animated simultaneously. This can occur either
  1.1417 -      with a single <span class="prop-name">animation-name</span> value with
  1.1418 -      keyframes containing multiple properties, or with multiple <span
  1.1419 -      class="prop-name">animation-name</span> values. For the purposes of
  1.1420 -      events, each <span class="prop-name">animation-name</span> specifies a
  1.1421 -      single animation. Therefore an event will be generated for each <span
  1.1422 -      class="prop-name">animation-name</span> value and not necessarily for
  1.1423 -      each property being animated.
  1.1424 -    </p>
  1.1425 -    <p>
  1.1426 -      The time the animation has been running is sent with each event
  1.1427 -      generated. This allows the event handler to determine the current
  1.1428 -      iteration of a looping animation or the current position of an
  1.1429 -      alternating animation. This time does not include any time the animation
  1.1430 -      was in the <code>paused</code> play state.
  1.1431 -    </p>
  1.1432 -    <dl>
  1.1433 -      <dt>
  1.1434 -        <b>Interface <i><a id="Events-AnimationEvent" name='Events-AnimationEvent'>AnimationEvent</a></i></b>
  1.1435 -      </dt>
  1.1436 -      <dd>
  1.1437 -        <p>
  1.1438 -          The <code>AnimationEvent</code> interface provides specific contextual information associated with Animation events.
  1.1439 -        </p>
  1.1440 -        <dl>
  1.1441 -          <dt>
  1.1442 -            <br>
  1.1443 -            <b>IDL Definition</b>
  1.1444 -          </dt>
  1.1445 -          <dd>
  1.1446 -            <div class='idl-code'>
  1.1447 -              <pre>
  1.1448 -interface AnimationEvent : Event {
  1.1449 -  readonly attribute DOMString          animationName;
  1.1450 -  readonly attribute float              elapsedTime;
  1.1451 -  void               initAnimationEvent(in DOMString typeArg, 
  1.1452 -                                        in boolean canBubbleArg, 
  1.1453 -                                        in boolean cancelableArg, 
  1.1454 -                                        in DOMString animationNameArg,
  1.1455 -                                        in float elapsedTimeArg);
  1.1456 -};
  1.1457 -</pre>
  1.1458 -            </div>
  1.1459 -          </dd>
  1.1460 -          <dt>
  1.1461 -            <b>Attributes</b>
  1.1462 -          </dt>
  1.1463 -          <dd>
  1.1464 -            <dl>
  1.1465 -              <dt>
  1.1466 -                <code class='attribute-name'><a id="Events-AnimationEvent-animationName" name='Events-AnimationEvent-animationName'>animationName</a></code> of type <code>DOMString</code>, readonly
  1.1467 -              </dt>
  1.1468 -              <dd>
  1.1469 -                The value of the <span class="prop-name">animation-name</span> property of the animation that fired the event.
  1.1470 -              </dd>
  1.1471 -            </dl>
  1.1472 -            <dl>
  1.1473 -              <dt>
  1.1474 -                <code class='attribute-name'><a id="Events-AnimationEvent-elapsedTime" name='Events-AnimationEvent-elapsedTime'>elapsedTime</a></code> of type <code>float</code>, readonly
  1.1475 -              </dt>
  1.1476 -              <dd>
  1.1477 -                The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. Note that this value is not affected by the value of <span class="prop-name">animation-delay</span>. For an "animationstart" event, the elapsedTime is always zero.
  1.1478 -              </dd>
  1.1479 -            </dl>
  1.1480 -          </dd>
  1.1481 -          <dt>
  1.1482 -            <b>Methods</b>
  1.1483 -          </dt>
  1.1484 -          <dd>
  1.1485 -            <dl>
  1.1486 -              <dt>
  1.1487 -                <code class='method-name'><a id="Events-AnimationEvent-initAnimationEvent" name='Events-AnimtionEvent-initAnimationEvent'>initAnimationEvent</a></code>
  1.1488 -              </dt>
  1.1489 -              <dd>
  1.1490 -                <div class='method'>
  1.1491 -                  The <code>initAnimationEvent</code> method is used to initialize the value of an <code>AnimationEvent</code> created through the <a href='events.html#Events-DocumentEvent'><code>DocumentEvent</code></a> interface. This method may only be called before the <code>AnimationEvent</code> has been dispatched via the <code>dispatchEvent</code> method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
  1.1492 -                  <div class='parameters'>
  1.1493 -                    <b>Parameters</b>
  1.1494 -                    <div class='paramtable'>
  1.1495 -                      <dl>
  1.1496 -                        <dt>
  1.1497 -                          <code class='parameter-name'>typeArg</code> of type <code>DOMString</code>
  1.1498 -                        </dt>
  1.1499 -                        <dd>
  1.1500 -                          Specifies the event type.<br>
  1.1501 -                        </dd>
  1.1502 -                        <dt>
  1.1503 -                          <code class='parameter-name'>canBubbleArg</code> of type <code>boolean</code>
  1.1504 -                        </dt>
  1.1505 -                        <dd>
  1.1506 -                          Specifies whether or not the event can bubble.<br>
  1.1507 -                        </dd>
  1.1508 -                        <dt>
  1.1509 -                          <code class='parameter-name'>cancelableArg</code> of type <code>boolean</code>
  1.1510 -                        </dt>
  1.1511 -                        <dd>
  1.1512 -                          Specifies whether or not the event's default action can be prevented.
  1.1513 -                        </dd>
  1.1514 -                        <dt>
  1.1515 -                          <code class='parameter-name'>animationNameArg</code> of type <code>DOMString</code>
  1.1516 -                        </dt>
  1.1517 -                        <dd>
  1.1518 -                          Specifies the <a href='events.html#Events-Event'><code>Event</code></a>'s animation name.<br>
  1.1519 -                        </dd>
  1.1520 -                        <dt>
  1.1521 -                          <code class='parameter-name'>elapsedTimeArg</code> of type <code>float</code>
  1.1522 -                        </dt>
  1.1523 -                        <dd>
  1.1524 -                          Specifies the amount of time, in seconds, the animation has been running at the time of initialization.
  1.1525 -                        </dd>
  1.1526 -                      </dl>
  1.1527 -                    </div>
  1.1528 -                  </div><!-- parameters -->
  1.1529 -                  <div>
  1.1530 -                    <b>No Return Value</b>
  1.1531 -                  </div>
  1.1532 -                  <div>
  1.1533 -                    <b>No Exceptions</b>
  1.1534 -                  </div>
  1.1535 -                </div><!-- method -->
  1.1536 -              </dd>
  1.1537 -            </dl>
  1.1538 -          </dd>
  1.1539 -        </dl>
  1.1540 -      </dd>
  1.1541 -    </dl>
  1.1542 -    <p>
  1.1543 -      The different types of Animation events that can occur are:
  1.1544 -    </p>
  1.1545 -    <dl>
  1.1546 -      <dt>
  1.1547 -        <b>animationstart</b>
  1.1548 -      </dt>
  1.1549 -      <dd>
  1.1550 -        The 'animationstart' event occurs at the start of the animation
  1.1551 -        <ul>
  1.1552 -          <li>Bubbles: Yes
  1.1553 -          </li>
  1.1554 -          <li>Cancelable: Yes
  1.1555 -          </li>
  1.1556 -          <li>Context Info: animationName
  1.1557 -          </li>
  1.1558 -        </ul>
  1.1559 -      </dd>
  1.1560 -      <dt>
  1.1561 -        <b>animationend</b>
  1.1562 -      </dt>
  1.1563 -      <dd>
  1.1564 -        The 'animationend' event occurs when the animation finishes.
  1.1565 -        <ul>
  1.1566 -          <li>Bubbles: Yes
  1.1567 -          </li>
  1.1568 -          <li>Cancelable: Yes
  1.1569 -          </li>
  1.1570 -          <li>Context Info: animationName, elapsedTime
  1.1571 -          </li>
  1.1572 -        </ul>
  1.1573 -      </dd>
  1.1574 -      <dt>
  1.1575 -        <b>animationiteration</b>
  1.1576 -      </dt>
  1.1577 -      <dd>
  1.1578 -        The 'animationiteration' event occurs at the end of each iteration of an animation for which <code>animation-iteration-count</code> is greater than one. This event does not occur for animations with an iteration count of one.
  1.1579 -        <ul>
  1.1580 -          <li>Bubbles: Yes
  1.1581 -          </li>
  1.1582 -          <li>Cancelable: Yes
  1.1583 -          </li>
  1.1584 -          <li>Context Info: animationName, elapsedTime
  1.1585 -          </li>
  1.1586 -        </ul>
  1.1587 -      </dd>
  1.1588 -    </dl>
  1.1589 -    <!-- ======================================================================================================= -->
  1.1590 -      <h2>
  1.1591 -        5 DOM Interfaces
  1.1592 -      </h2>
  1.1593 -      <p>
  1.1594 -        CSS animation is exposed to the CSSOM through a pair of new interfaces
  1.1595 -        describing the keyframes.
  1.1596 -      </p>
  1.1597 -      <dl>
  1.1598 -        <dt>
  1.1599 -          <b>Interface <i><a id="DOM-CSSRule" name='DOM-CSSRule'>CSSRule</a></i></b>
  1.1600 -        </dt>
  1.1601 -        <dd>
  1.1602 -          <p>
  1.1603 -            The following 2 rule types are added to the <code>CSSRule</code> interface. They provide identification for the new keyframe and keyframes rules.
  1.1604 -          </p>
  1.1605 -          <dl>
  1.1606 -
  1.1607 -            <dt>
  1.1608 -              <b>IDL Definition</b>
  1.1609 -            </dt>
  1.1610 -            <dd>
  1.1611 -              <div class='idl-code'>
  1.1612 -                <pre>
  1.1613 -  interface CSSRule {
  1.1614 -    ...
  1.1615 -    const unsigned short KEYFRAMES_RULE = 7;
  1.1616 -    const unsigned short KEYFRAME_RULE = 8;
  1.1617 -    ...
  1.1618 -  };</pre>
  1.1619 -              </div>
  1.1620 -            </dd> <!-- IDL -->
  1.1621 -          </dl>
  1.1622 -        </dd>
  1.1623 -
  1.1624 -        <dt>
  1.1625 -          <b>Interface <i><a id="DOM-CSSKeyframeRule" name='DOM-CSSKeyframeRule'>CSSKeyframeRule</a></i></b>
  1.1626 -        </dt>
  1.1627 -        <dd>
  1.1628 -          <p>
  1.1629 -            The <code>CSSKeyframeRule</code> interface represents the style rule for a single key.
  1.1630 -          </p>
  1.1631 -          <dl>
  1.1632 -            <dt>
  1.1633 -              <br>
  1.1634 -              <b>IDL Definition</b>
  1.1635 -            </dt>
  1.1636 -            <dd>
  1.1637 -              <div class='idl-code'>
  1.1638 -                <pre>
  1.1639 -  interface CSSKeyframeRule : CSSRule {
  1.1640 -      attribute DOMString keyText;
  1.1641 -      readonly attribute CSSStyleDeclaration style;
  1.1642 -  };
  1.1643 -  </pre>
  1.1644 -              </div><br>
  1.1645 -            </dd>
  1.1646 -            <dt>
  1.1647 -              <b>Attributes</b>
  1.1648 -            </dt>
  1.1649 -            <dd>
  1.1650 -              <dl>
  1.1651 -                <dt>
  1.1652 -                  <code class='attribute-name'><a id="DOM-CSSKeyframeRule-keyText" name='DOM-CSSKeyframeRule-keyText'>keyText</a></code> of type <code>DOMString</code>
  1.1653 -                </dt>
  1.1654 -                <dd>
  1.1655 -                  This attribute represents the key as the string representation of a floating point number between 0 and 1. If the value 
  1.1656 -                  in the CSS style is <code>from</code> this value will be 0, and if the value in the CSS style is <code>to</code> this 
  1.1657 -                  value will be 1.<br>
  1.1658 -                </dd>
  1.1659 -              </dl>
  1.1660 -            </dd>
  1.1661 -            <dd>
  1.1662 -              <dl>
  1.1663 -                <dt>
  1.1664 -                  <code class='attribute-name'><a id="DOM-CSSKeyframeRule-style" name='DOM-CSSKeyframeRule-style'>style</a></code> of type <code>CSSStyleDeclaration</code>
  1.1665 -                </dt>
  1.1666 -                <dd>
  1.1667 -                  This attribute represents the style associated with this keyframe.<br>
  1.1668 -                </dd>
  1.1669 -              </dl>
  1.1670 -            </dd>
  1.1671 -            <dt>
  1.1672 -              <b>No Methods</b>
  1.1673 -            </dt>
  1.1674 -          </dl>
  1.1675 -        </dd>
  1.1676 -      </dl>
  1.1677 -      <dl>
  1.1678 -        <dt>
  1.1679 -          <b>Interface <i><a id="DOM-CSSKeyframesRule" name='DOM-CSSKeyframesRule'>CSSKeyframesRule</a></i></b>
  1.1680 -        </dt>
  1.1681 -        <dd>
  1.1682 -          <p>
  1.1683 -            The <code>CSSKeyframesRule</code> interface represents a complete set of keyframes for a single animation.
  1.1684 -          </p>
  1.1685 -          <dl>
  1.1686 -            <dt>
  1.1687 -              <br>
  1.1688 -              <b>IDL Definition</b>
  1.1689 -            </dt>
  1.1690 -            <dd>
  1.1691 -              <div class='idl-code'>
  1.1692 -                <pre>
  1.1693 -  interface CSSKeyframesRule : CSSRule {
  1.1694 -      attribute          DOMString   name;
  1.1695 -      readonly attribute CSSRuleList cssRules;
  1.1696 -
  1.1697 -      void               insertRule(in DOMString rule);
  1.1698 -      void               deleteRule(in DOMString key);
  1.1699 -      CSSKeyframeRule    findRule(in DOMString key);
  1.1700 -  };
  1.1701 -  </pre>
  1.1702 -              </div><br>
  1.1703 -            </dd>
  1.1704 -            <dt>
  1.1705 -              <b>Attributes</b>
  1.1706 -            </dt>
  1.1707 -            <dd>
  1.1708 -              <dl>
  1.1709 -                <dt>
  1.1710 -                  <code class='attribute-name'><a id="DOM-CSSKeyframesRule-name" name='DOM-CSSKeyframesRule-name'>name</a></code> of type <code>DOMString</code>
  1.1711 -                </dt>
  1.1712 -                <dd>
  1.1713 -                  This attribute is the name of the keyframes, used by the <code>animation-name</code> property.<br>
  1.1714 -                </dd>
  1.1715 -              </dl>
  1.1716 -            </dd>
  1.1717 -            <dd>
  1.1718 -              <dl>
  1.1719 -                <dt>
  1.1720 -                  <code class='attribute-name'><a id="DOM-CSSKeyframeRules-cssRules" name='DOM-CSSKeyframeRules-cssRules'>cssRules</a></code> of type <code>CSSRuleList</code>
  1.1721 -                </dt>
  1.1722 -                <dd>
  1.1723 -                  This attribute gives access to the keyframes in the list.<br>
  1.1724 -                </dd>
  1.1725 -              </dl>
  1.1726 -            </dd>
  1.1727 -            <dt>
  1.1728 -              <b>Methods</b>
  1.1729 -              <dd>
  1.1730 -                <dl>
  1.1731 -                  <!-- ======================================================================================================= -->
  1.1732 -                  <dt>
  1.1733 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-insertRule" name='DOM-CSSKeyframesRule-insertRule'>insertRule</a></code>
  1.1734 -                  </dt>
  1.1735 -                  <dd>
  1.1736 -                    <div class='method'>
  1.1737 -                      The <code>insertRule</code> method inserts the passed CSSKeyframeRule into the list at the passed key.
  1.1738 -                      <div class='parameters'>
  1.1739 -                        <b>Parameters</b>
  1.1740 -                        <div class='paramtable'>
  1.1741 -                          <dl>
  1.1742 -                             <dt>
  1.1743 -                              <code class='parameter-name'>rule</code> of type <code>DOMString</code>
  1.1744 -                            </dt>
  1.1745 -                            <dd>
  1.1746 -                              The rule to be inserted, expressed in the same syntax as one entry in the
  1.1747 -                              <code>@keyframes</code> rule. The key is included in the rule string, which described the
  1.1748 -                              point at which the rule should be inserted. If a rule with the same key already exists in
  1.1749 -                              the list, it is replaced with this rule.
  1.1750 -                            </dd>
  1.1751 -                          </dl>
  1.1752 -                        </div>
  1.1753 -                      </div><!-- parameters -->
  1.1754 -                      <div class='return-value'>
  1.1755 -                        <b>No Return Value</b>
  1.1756 -                      </div>
  1.1757 -                      <div>
  1.1758 -                        <b>No Exceptions</b>
  1.1759 -                      </div>
  1.1760 -                    </div><!-- ======================================================================================================= -->
  1.1761 -                  </dd>
  1.1762 -                  <dt>
  1.1763 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-deleteRule" name='DOM-CSSKeyframesRule-deleteRule'>deleteRule</a></code>
  1.1764 -                  </dt>
  1.1765 -                  <dd>
  1.1766 -                    <div class='method'>
  1.1767 -                      The <code>deleteRule</code> method deletes the CSSKeyframeRule with the passed key. If a rule with this key
  1.1768 -                      does not exist, the method does nothing.
  1.1769 -                      <div class='parameters'>
  1.1770 -                        <b>Parameters</b>
  1.1771 -                        <div class='paramtable'>
  1.1772 -                          <dl>
  1.1773 -                            <dt>
  1.1774 -                              <code class='parameter-name'>key</code> of type <code>DOMString</code>
  1.1775 -                            </dt>
  1.1776 -                            <dd>
  1.1777 -                              The key which describes the rule to be deleted. The key must
  1.1778 -                              resolve to a number between 0 and 1, or the rule is ignored.<br>
  1.1779 -                            </dd>
  1.1780 -                          </dl>
  1.1781 -                        </div>
  1.1782 -                      </div><!-- parameters -->
  1.1783 -                      <div class='return-value'>
  1.1784 -                        <b>No Return Value</b>
  1.1785 -                      </div>
  1.1786 -                      <div>
  1.1787 -                        <b>No Exceptions</b>
  1.1788 -                      </div>
  1.1789 -                    </div><!-- ======================================================================================================= -->
  1.1790 -                  </dd>
  1.1791 -                  <dt>
  1.1792 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-findRule" name='DOM-CSSKeyframesRule-findRule'>findRule</a></code>
  1.1793 -                  </dt>
  1.1794 -                  <dd>
  1.1795 -                    <div class='method'>
  1.1796 -                      The <code>findRule</code> method returns the rule with a key matching the passed key. If no such rule
  1.1797 -                      exists, a null value is returned.
  1.1798 -                      <div class='parameters'>
  1.1799 -                        <b>Parameters</b>
  1.1800 -                        <div class='paramtable'>
  1.1801 -                          <dl>
  1.1802 -                            <dt>
  1.1803 -                              <code class='parameter-name'>key</code> of type <code>DOMString</code>
  1.1804 -                            </dt>
  1.1805 -                            <dd>
  1.1806 -                              The key which described the rule to find. The key must
  1.1807 -                              resolve to a number between 0 and 1, or the rule is ignored.<br>
  1.1808 -                            </dd>
  1.1809 -                          </dl>
  1.1810 -                        </div>
  1.1811 -                      </div><!-- parameters -->
  1.1812 -                      <div class='return-value'>
  1.1813 -                        <b>Return Value</b>
  1.1814 -                        <div class='returnvalue'>
  1.1815 -                          <dl>
  1.1816 -                            <dt>
  1.1817 -                              <code>CSSKeyframeRule</code>
  1.1818 -                            </dt>
  1.1819 -                            <dd>
  1.1820 -                              The found rule.<br>
  1.1821 -                            </dd>
  1.1822 -                          </dl>
  1.1823 -                        </div>
  1.1824 -                      </div>
  1.1825 -                      <div>
  1.1826 -                        <b>No Exceptions</b>
  1.1827 -                      </div>
  1.1828 -                    </div><!-- ======================================================================================================= -->
  1.1829 -                  </dd>
  1.1830 -                </dl><!-- method -->
  1.1831 -              </dd>
  1.1832 -            </dt>
  1.1833 -          </dl>
  1.1834 -        </dd>
  1.1835 -      </dl>
  1.1836 -
  1.1837 -  </body>
  1.1838 -</html>
     2.1 --- a/css3-animations/ChangeLog	Sun Jan 29 21:43:07 2012 +0000
     2.2 +++ b/css3-animations/ChangeLog	Mon Jan 30 15:24:47 2012 +0000
     2.3 @@ -1,3 +1,8 @@
     2.4 +2012-01-30 simon.fraser@apple.com
     2.5 +	- Clarify behavior of missing properties in keyframes:
     2.6 +		https://www.w3.org/Bugs/Public/show_bug.cgi?id=14636
     2.7 +		https://www.w3.org/Style/CSS/Tracker/actions/389
     2.8 +
     2.9  2011-07-24 dino@apple.com
    2.10  
    2.11  - Zero times now have the unit specifier (dbaron feedback 11 April)
     3.1 --- a/css3-animations/Overview.html	Sun Jan 29 21:43:07 2012 +0000
     3.2 +++ b/css3-animations/Overview.html	Mon Jan 30 15:24:47 2012 +0000
     3.3 @@ -4,7 +4,7 @@
     3.4  <html lang=en>
     3.5   <head>
     3.6    <title>CSS Animations</title>
     3.7 -  <link href=default.css rel=stylesheet type="text/css">
     3.8 +  <link href="../default.css" rel=stylesheet type="text/css">
     3.9  
    3.10    <style type="text/css">
    3.11      .rhs { white-space: pre-wrap; }
    3.12 @@ -29,15 +29,15 @@
    3.13  
    3.14     <h1>CSS Animations</h1>
    3.15  
    3.16 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 December
    3.17 -    2011</h2>
    3.18 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 January
    3.19 +    2012</h2>
    3.20  
    3.21     <dl>
    3.22      <dt>This version:
    3.23  
    3.24      <dd><a
    3.25 -     href="http://www.w3.org/TR/2011/ED-css3-animations-20111217/">http://dev.w3.org/csswg/css3-animations/</a>
    3.26 -     <!--http://www.w3.org/TR/2011/WD-css3-animations-20111217-->
    3.27 +     href="http://www.w3.org/TR/2012/ED-css3-animations-20120130/">http://dev.w3.org/csswg/css3-animations/</a>
    3.28 +     <!--http://www.w3.org/TR/2012/WD-css3-animations-20120130-->
    3.29  
    3.30      <dt>Latest version:
    3.31  
    3.32 @@ -84,7 +84,7 @@
    3.33     <!--begin-copyright-->
    3.34     <p class=copyright><a
    3.35      href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    3.36 -    rel=license>Copyright</a> &copy; 2011 <a
    3.37 +    rel=license>Copyright</a> &copy; 2012 <a
    3.38      href="http://www.w3.org/"><acronym
    3.39      title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
    3.40      href="http://www.csail.mit.edu/"><acronym
    3.41 @@ -368,7 +368,7 @@
    3.42    <p> The <i>keyframe declaration</i> for a keyframe rule consists of
    3.43     properties and values. Properties that are unable to be animated are
    3.44     ignored in these rules, with the exception of <a class=prop-name
    3.45 -   href="#animation-timing-function">animation-timing-function'</a>, the
    3.46 +   href="#animation-timing-function">animation-timing-function</a>, the
    3.47     behavior of which is described below.
    3.48  
    3.49    <p class=note> NOTE: describe what happens if a property is not present in
    3.50 @@ -383,12 +383,19 @@
    3.51     animation will never derive keyframes from more than one <span
    3.52     class=prop-name>@keyframes</span> rule.
    3.53  
    3.54 -  <p> To determine the set of keyframes, all of the values in selectors are
    3.55 -   sorted in increasing order by time. If there are any duplicates, then the
    3.56 -   last keyframe specified inside the <span class=prop-name>@keyframes</span>
    3.57 -   rule will be used to provide the keyframe information for that time. There
    3.58 -   is no cascading within a <span class=prop-name>@keyframes</span> rule if
    3.59 -   multiple keyframes specify the same keyframe selector values.
    3.60 +  <p> To determine the set of keyframes, all of the values in the selectors
    3.61 +   are sorted in increasing order by time. If there are any duplicates, then
    3.62 +   the last keyframe specified inside the <span
    3.63 +   class=prop-name>@keyframes</span> rule will be used to provide the
    3.64 +   keyframe information for that time. There is no cascading within a <span
    3.65 +   class=prop-name>@keyframes</span> rule if multiple keyframes specify the
    3.66 +   same keyframe selector values.
    3.67 +
    3.68 +  <p> If property is not specified for a keyframe, or is specified but
    3.69 +   invalid, the animation of that property proceeds as if that keyframe did
    3.70 +   not exist. Conceptually, it is as if a set of keyframes is constructed for
    3.71 +   each property that is present in any of the keyframes, and an animation is
    3.72 +   run independently for each one.
    3.73  
    3.74    <div class=example>
    3.75     <p style="display:none"> Example(s):</p>
     4.1 --- a/css3-animations/Overview.src.html	Sun Jan 29 21:43:07 2012 +0000
     4.2 +++ b/css3-animations/Overview.src.html	Mon Jan 30 15:24:47 2012 +0000
     4.3 @@ -234,7 +234,7 @@
     4.4          The <i>keyframe declaration</i> for a keyframe rule consists of
     4.5          properties and values. Properties that are unable to be
     4.6          animated are ignored in these rules, with the exception of <span
     4.7 -        class="prop-name">animation-timing-function'</span>, the behavior 
     4.8 +        class="prop-name">animation-timing-function</span>, the behavior 
     4.9          of which is described below.
    4.10        </p>
    4.11        <p class="note">
    4.12 @@ -247,11 +247,16 @@
    4.13          therefore an animation will never derive keyframes from more than one <span class="prop-name">@keyframes</span> rule.
    4.14        </p>
    4.15        <p>
    4.16 -        To determine the set of keyframes, all of the values in selectors are sorted in increasing order by time.
    4.17 +        To determine the set of keyframes, all of the values in the selectors are sorted in increasing order by time.
    4.18          If there are any duplicates, then the last keyframe specified inside the <span class="prop-name">@keyframes</span> rule
    4.19          will be used to provide the keyframe information for that time. There is no cascading within a
    4.20          <span class="prop-name">@keyframes</span> rule if multiple keyframes specify the same keyframe selector values.
    4.21        </p>
    4.22 +      <p>
    4.23 +        If property is not specified for a keyframe, or is specified but invalid, the animation of that property proceeds
    4.24 +        as if that keyframe did not exist. Conceptually, it is as if a set of keyframes is constructed for each property
    4.25 +        that is present in any of the keyframes, and an animation is run independently for each one.
    4.26 +      </p>
    4.27        <div class="example">
    4.28          <p style="display:none">
    4.29            Example(s):

mercurial