Skip to content

Commit

Permalink
[e] (0) More updates for secure hosting
Browse files Browse the repository at this point in the history
Affected topics: Canvas, HTML, Video Text Tracks

git-svn-id: https://svn.whatwg.org/webapps@8771 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 15, 2014
1 parent 15b76ce commit 395593b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 29 deletions.
18 changes: 9 additions & 9 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
}, false);
function load(script) {
var e = document.createElement('script');
e.setAttribute('src', '//www.whatwg.org/specs/web-apps/current-work/' + script);
e.setAttribute('src', '/' + script);
document.body.appendChild(e);
}

Expand Down Expand Up @@ -270,23 +270,23 @@
#table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
@font-face {
font-family: 'Essays1743';
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743.ttf');
src: url('/fonts/Essays1743.ttf');
}
@font-face {
font-family: 'Essays1743';
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Bold.ttf');
src: url('/fonts/Essays1743-Bold.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Italic.ttf');
src: url('/fonts/Essays1743-Italic.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
src: url('/fonts/Essays1743-BoldItalic.ttf');
}
</style><link rel=stylesheet href=status.css><body onload=init()>
<header id=head class="head with-buttons">
Expand Down Expand Up @@ -26143,7 +26143,7 @@ <h6 id=best-practices-for-metadata-text-tracks>4.8.14.12.8 Best practices for me
score. Suppose a robotics competition was being streamed live. The image could be overlayed with
the scores, as follows:</p>

<p><iframe src="data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D&quot;http%3A%2F%2Fwww.whatwg.org%2Fspecs%2Fweb-apps%2Fcurrent-work%2Fimages%2Frobots.jpeg&quot;>%0A%20<p%20class%3D&quot;score%20left&quot;><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20right&quot;><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20middle&quot;><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>" width=600 height=400></iframe>
<p><iframe src="data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D&quot;https%3A%2F%2Fimages.whatwg.org%2Frobots.jpeg&quot;>%0A%20<p%20class%3D&quot;score%20left&quot;><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20right&quot;><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20middle&quot;><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>" width=600 height=400></iframe>

<p>In order to make the score display render correctly whenever the user seeks to an arbitrary
point in the video, the metadata text track cues need to be as long as is appropriate for the
Expand Down Expand Up @@ -49924,13 +49924,13 @@ <h6 id=examples>4.12.4.2.22 Examples</h6>
<p>The 2D rendering context for <code id=examples:the-canvas-element><a href=#the-canvas-element>canvas</a></code> is often used for sprite-based games. The
following example demonstrates this:</p>

<iframe src=/demos/canvas/blue-robot/index-idle.html width=396 height=216></iframe>
<iframe src=https://www.whatwg.org/demos/canvas/blue-robot/index-idle.html width=396 height=216></iframe>

<p>Here is the source for this example:</p>

<pre>&lt;!DOCTYPE HTML>
&lt;title>Blue Robot Demo&lt;/title>
&lt;base href="http://www.whatwg.org/demos/canvas/blue-robot/">
&lt;base href="https://www.whatwg.org/demos/canvas/blue-robot/">
&lt;style>
html { overflow: hidden; min-height: 200px; min-width: 380px; }
body { height: 200px; position: relative; margin: 8px; }
Expand Down Expand Up @@ -81414,7 +81414,7 @@ <h3 id=web+-scheme-prefix>16.10 <dfn><code>web+</code> scheme prefix</dfn></h3>

<dt>Contact:<dd>Ian Hickson &lt;ian@hixie.ch><dt>Author/Change controller:<dd>Ian Hickson &lt;ian@hixie.ch><dt>References:<dd>
<cite>Custom scheme and content handlers</cite>, HTML Living Standard:
<a href=#custom-handlers>http://www.whatwg.org/specs/web-apps/current-work/#custom-handlers</a>
<a href=#custom-handlers>http://html.spec.whatwg.org/#custom-handlers</a>
</dl>


Expand Down
3 changes: 1 addition & 2 deletions images/content-venn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
}, false);
function load(script) {
var e = document.createElement('script');
e.setAttribute('src', '//www.whatwg.org/specs/web-apps/current-work/' + script);
e.setAttribute('src', '/' + script);
document.body.appendChild(e);
}

Expand Down Expand Up @@ -270,23 +270,23 @@
#table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
@font-face {
font-family: 'Essays1743';
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743.ttf');
src: url('/fonts/Essays1743.ttf');
}
@font-face {
font-family: 'Essays1743';
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Bold.ttf');
src: url('/fonts/Essays1743-Bold.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Italic.ttf');
src: url('/fonts/Essays1743-Italic.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
src: url('/fonts/Essays1743-BoldItalic.ttf');
}
</style><link rel=stylesheet href=status.css><body onload=init()>
<header id=head class="head with-buttons">
Expand Down Expand Up @@ -26143,7 +26143,7 @@ The General Relativistic Field Equations</pre>
score. Suppose a robotics competition was being streamed live. The image could be overlayed with
the scores, as follows:</p>

<p><iframe src="data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D&quot;http%3A%2F%2Fwww.whatwg.org%2Fspecs%2Fweb-apps%2Fcurrent-work%2Fimages%2Frobots.jpeg&quot;>%0A%20<p%20class%3D&quot;score%20left&quot;><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20right&quot;><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20middle&quot;><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>" width=600 height=400></iframe>
<p><iframe src="data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D&quot;https%3A%2F%2Fimages.whatwg.org%2Frobots.jpeg&quot;>%0A%20<p%20class%3D&quot;score%20left&quot;><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20right&quot;><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D&quot;score%20middle&quot;><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>" width=600 height=400></iframe>

<p>In order to make the score display render correctly whenever the user seeks to an arbitrary
point in the video, the metadata text track cues need to be as long as is appropriate for the
Expand Down Expand Up @@ -49924,13 +49924,13 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The 2D rendering context for <code id=examples:the-canvas-element><a href=#the-canvas-element>canvas</a></code> is often used for sprite-based games. The
following example demonstrates this:</p>

<iframe src=/demos/canvas/blue-robot/index-idle.html width=396 height=216></iframe>
<iframe src=https://www.whatwg.org/demos/canvas/blue-robot/index-idle.html width=396 height=216></iframe>

<p>Here is the source for this example:</p>

<pre>&lt;!DOCTYPE HTML>
&lt;title>Blue Robot Demo&lt;/title>
&lt;base href="http://www.whatwg.org/demos/canvas/blue-robot/">
&lt;base href="https://www.whatwg.org/demos/canvas/blue-robot/">
&lt;style>
html { overflow: hidden; min-height: 200px; min-width: 380px; }
body { height: 200px; position: relative; margin: 8px; }
Expand Down Expand Up @@ -81414,7 +81414,7 @@ if (s = prompt('What is your name?')) {

<dt>Contact:<dd>Ian Hickson &lt;ian@hixie.ch><dt>Author/Change controller:<dd>Ian Hickson &lt;ian@hixie.ch><dt>References:<dd>
<cite>Custom scheme and content handlers</cite>, HTML Living Standard:
<a href=#custom-handlers>http://www.whatwg.org/specs/web-apps/current-work/#custom-handlers</a>
<a href=#custom-handlers>http://html.spec.whatwg.org/#custom-handlers</a>
</dl>


Expand Down
18 changes: 9 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
}, false);
function load(script) {
var e = document.createElement('script');
e.setAttribute('src', '//www.whatwg.org/specs/web-apps/current-work/' + script);
e.setAttribute('src', '/' + script);
document.body.appendChild(e);
}

Expand Down Expand Up @@ -298,23 +298,23 @@
#table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
@font-face {
font-family: 'Essays1743';
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743.ttf');
src: url('/fonts/Essays1743.ttf');
}
@font-face {
font-family: 'Essays1743';
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Bold.ttf');
src: url('/fonts/Essays1743-Bold.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-Italic.ttf');
src: url('/fonts/Essays1743-Italic.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
font-weight: bold;
src: url('//www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
src: url('/fonts/Essays1743-BoldItalic.ttf');
}
</style>
<link w-nodev rel="stylesheet" href="status.css">
Expand Down Expand Up @@ -33901,7 +33901,7 @@ The General Relativistic Field Equations</pre>
score. Suppose a robotics competition was being streamed live. The image could be overlayed with
the scores, as follows:</p>

<p><iframe src='data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D"http%3A%2F%2Fwww.whatwg.org%2Fspecs%2Fweb-apps%2Fcurrent-work%2Fimages%2Frobots.jpeg">%0A%20<p%20class%3D"score%20left"><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D"score%20right"><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D"score%20middle"><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>' width="600" height="400"></iframe>
<p><iframe src='data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<style>%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A<%2Fstyle>%0A<div>%0A%20<img%20src%3D"https%3A%2F%2Fimages.whatwg.org%2Frobots.jpeg">%0A%20<p%20class%3D"score%20left"><span>Red%20Alliance<%2Fspan>%20<span>78<%2Fspan><%2Fp>%0A%20<p%20class%3D"score%20right"><span>Blue%20Alliance<%2Fspan>%20<span>66<%2Fspan><%2Fp>%0A%20<p%20class%3D"score%20middle"><span>Qual%20Match%2037<%2Fspan>%20<span>Friday%2014%3A21<%2Fspan>%0A<%2Fdiv>' width="600" height="400"></iframe>

<p>In order to make the score display render correctly whenever the user seeks to an arbitrary
point in the video, the metadata text track cues need to be as long as is appropriate for the
Expand Down Expand Up @@ -66203,7 +66203,7 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The 2D rendering context for <code>canvas</code> is often used for sprite-based games. The
following example demonstrates this:</p>

<iframe src="/demos/canvas/blue-robot/index-idle.html" width="396" height="216"></iframe>
<iframe src="https://www.whatwg.org/demos/canvas/blue-robot/index-idle.html" width="396" height="216"></iframe>

<p>Here is the source for this example:</p>

Expand Down Expand Up @@ -110805,7 +110805,7 @@ if (s = prompt('What is your name?')) {
<dt>References:</dt>
<dd>
<cite>Custom scheme and content handlers</cite>, HTML Living Standard:
<a href="#custom-handlers">http://www.whatwg.org/specs/web-apps/current-work/#custom-handlers</a>
<a href="#custom-handlers">http://html.spec.whatwg.org/#custom-handlers</a>
</dd>
</dl>

Expand Down Expand Up @@ -115378,7 +115378,7 @@ INSERT INTERFACES HERE
<dd><cite><a href="http://dev.w3.org/html5/html-api-map/overview.html">HTML to Platform Accessibility APIs Implementation Guide</a></cite>. W3C.</dd>

<dt id="refsHTML">[HTML]</dt>
<dd><cite><a href="//www.whatwg.org/specs/web-apps/current-work/">HTML</a></cite>, I. Hickson. WHATWG.</dd>
<dd><cite><a href="https://html.spec.whatwg.org/">HTML</a></cite>, I. Hickson. WHATWG.</dd>

<dt id="refsHTTP">[HTTP]</dt>
<dd><cite><a href="http://tools.ietf.org/html/rfc7230">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a></cite>, R. Fielding, J. Reschke. IETF.</dd>
Expand Down

0 comments on commit 395593b

Please sign in to comment.