[EME] Added Issue blocks for error codes and asynchronous CDM loading.
--- a/encrypted-media/encrypted-media.html Mon May 06 15:58:12 2013 -0700
+++ b/encrypted-media/encrypted-media.html Mon May 06 16:38:09 2013 -0700
@@ -4,6 +4,44 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Encrypted Media Extensions</title>
<link rel="stylesheet" href="video-working-draft.css">
+ <style>/* --- ISSUES/NOTES --- */
+ div.issue-title, div.note-title {
+ padding-right: 1em;
+ min-width: 7.5em;
+ color: #b9ab2d;
+ }
+ div.issue-title { color: #e05252; }
+ div.note-title { color: #52e052; }
+ div.issue-title span, div.note-title span {
+ text-transform: uppercase;
+ }
+ div.note, div.issue {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ }
+ .note > p:first-child, .issue > p:first-child { margin-top: 0 }
+ .issue, .note {
+ padding: .5em;
+ border-left-width: .5em;
+ border-left-style: solid;
+ }
+ div.issue, div.note {
+ padding: 0.5em;
+ margin: 1em 0;
+ position: relative;
+ clear: both;
+ }
+ span.note, span.issue { padding: .1em .5em .15em; }
+
+ .issue {
+ border-color: #e05252;
+ background: #fbe9e9;
+ }
+ .note {
+ border-color: #52e052;
+ background: #e9fbe9;
+ }
+ </style>
<style type="text/css">
div.nonnormative { color: green; margin: 2em 0 2em 0em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
.nonnormative:before { display: table; margin: -1em -0.5em -0.5em auto; width: auto; content: 'This section is non-normative.'; color: black; font-style: italic; border: solid 2px; background: white; padding: 0 0.25em; }
@@ -19,7 +57,7 @@
<div class="head">
<p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48"></a></p>
<h1>Encrypted Media Extensions</h1>
- <h2 id="draft-date">W3C Editor's Draft 4 May 2013</h2>
+ <h2 id="draft-date">W3C Editor's Draft 6 May 2013</h2>
<dl>
<dt>This Version:</dt>
<dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html</a></dd>
@@ -289,6 +327,10 @@
<li>
<p>Load <var title="true">cdm</var> if necessary.</p>
+ <div class="issue">
+<div class="issue-title"><span>Issue 1</span></div>
+<p class=""><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=20991">Bug 20991</a> - The CDM should be loaded asynchronously.</p>
+</div>
<dl class="switch">
<dt>If <var title="true">cdm</var> fails to load or initialize</dt>
<dd><ol>
@@ -507,6 +549,10 @@
</ol>
<h3 id="error-codes">2.1. Error Codes</h3>
+ <div class="issue">
+<div class="issue-title"><span>Issue 2</span></div>
+<p class=""><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=21798">Bug 21798</a> and <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=16857">Bug 16857</a> - Some errors may change or be removed.</p>
+</div>
<p><code><a href="http://www.w3.org/TR/html5/embedded-content-0.html#mediaerror">MediaError</a></code> is extended, and a new error type is added.</p>
<pre class="idl">
partial interface <dfn id="dom-mediaerror">MediaError</dfn> {
--- a/encrypted-media/encrypted-media.xml Mon May 06 15:58:12 2013 -0700
+++ b/encrypted-media/encrypted-media.xml Mon May 06 16:38:09 2013 -0700
@@ -3,6 +3,44 @@
<head>
<title>Encrypted Media Extensions</title>
<link rel="stylesheet" href="video-working-draft.css" />
+ <style>/* --- ISSUES/NOTES --- */
+ div.issue-title, div.note-title {
+ padding-right: 1em;
+ min-width: 7.5em;
+ color: #b9ab2d;
+ }
+ div.issue-title { color: #e05252; }
+ div.note-title { color: #52e052; }
+ div.issue-title span, div.note-title span {
+ text-transform: uppercase;
+ }
+ div.note, div.issue {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ }
+ .note > p:first-child, .issue > p:first-child { margin-top: 0 }
+ .issue, .note {
+ padding: .5em;
+ border-left-width: .5em;
+ border-left-style: solid;
+ }
+ div.issue, div.note {
+ padding: 0.5em;
+ margin: 1em 0;
+ position: relative;
+ clear: both;
+ }
+ span.note, span.issue { padding: .1em .5em .15em; }
+
+ .issue {
+ border-color: #e05252;
+ background: #fbe9e9;
+ }
+ .note {
+ border-color: #52e052;
+ background: #e9fbe9;
+ }
+ </style>
<style type="text/css">
div.nonnormative { color: green; margin: 2em 0 2em 0em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
.nonnormative:before { display: table; margin: -1em -0.5em -0.5em auto; width: auto; content: 'This section is non-normative.'; color: black; font-style: italic; border: solid 2px; background: white; padding: 0 0.25em; }
@@ -18,7 +56,7 @@
<div class="head">
<p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48" /></a></p>
<h1>Encrypted Media Extensions</h1>
- <h2 id="draft-date">W3C Editor's Draft 4 May 2013</h2>
+ <h2 id="draft-date">W3C Editor's Draft 6 May 2013</h2>
<dl>
<dt>This Version:</dt>
<dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html</a></dd>
@@ -283,6 +321,7 @@
<li><p>Let <var title="true">cdm</var> be the <a href="#cdm">content decryption module</a> corresponding to <var title="true">keySystem</var>.</p></li>
<li><p>Load <var title="true">cdm</var> if necessary.</p>
+ <div class="issue"><div class="issue-title"><span>Issue 1</span></div><p class=""><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=20991">Bug 20991</a> - The CDM should be loaded asynchronously.</p></div>
<dl class="switch">
<dt>If <var title="true">cdm</var> fails to load or initialize</dt>
<dd><ol>
@@ -488,6 +527,7 @@
</ol>
<h3 id="error-codes">2.1. Error Codes</h3>
+ <div class="issue"><div class="issue-title"><span>Issue 2</span></div><p class=""><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=21798">Bug 21798</a> and <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=16857">Bug 16857</a> - Some errors may change or be removed.</p></div>
<p><videoref name="mediaerror">MediaError</videoref> is extended, and a new error type is added.</p>
<pre class="idl">
partial interface <precodedfn>MediaError</precodedfn> {