Skip to content

Commit

Permalink
[e] (0) show best practice use of 'lang' attribute
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12414

git-svn-id: http://svn.whatwg.org/webapps@6236 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 15, 2011
1 parent dd6f8dd commit 2946a00
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -26611,8 +26611,8 @@ <h4 id=the-track-element><span class=secno>4.8.9 </span>The <dfn><code>track</co
<pre>&lt;video src="brave.webm"&gt;
&lt;track kind=subtitles src=brave.en.vtt srclang=en label="English"&gt;
&lt;track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing"&gt;
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr label="Fran&ccedil;ais"&gt;
&lt;track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch"&gt;
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr lang=fr label="Fran&ccedil;ais"&gt;
&lt;track kind=subtitles src=brave.de.vtt srclang=de lang=de label="Deutsch"&gt;
&lt;/video&gt;</pre>

</div>
Expand Down Expand Up @@ -36751,7 +36751,7 @@ <h6 id=text-0><span class=secno>4.8.11.1.9 </span>Text</h6> <!-- a v3 feature --
attribute's allowed keywords correspond to alignment points in the
font:</p>

<p><img alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#2310; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &Omega; are anchored, the ideographic baseline is where glyphs like &#31169; and &#36948; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height=300 src=http://images.whatwg.org/baselines.png width=738></p>
<p><img alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#2310; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &amp;#x03A9; are anchored, the ideographic baseline is where glyphs like &#31169; and &#36948; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height=300 src=http://images.whatwg.org/baselines.png width=738></p>

<p>The keywords map to these alignment points as follows:</p>

Expand Down
4 changes: 2 additions & 2 deletions index
Expand Up @@ -26604,8 +26604,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<pre>&lt;video src="brave.webm"&gt;
&lt;track kind=subtitles src=brave.en.vtt srclang=en label="English"&gt;
&lt;track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing"&gt;
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr label="Fran&ccedil;ais"&gt;
&lt;track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch"&gt;
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr lang=fr label="Fran&ccedil;ais"&gt;
&lt;track kind=subtitles src=brave.de.vtt srclang=de lang=de label="Deutsch"&gt;
&lt;/video&gt;</pre>

</div>
Expand Down
4 changes: 2 additions & 2 deletions source
Expand Up @@ -28869,8 +28869,8 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
<pre>&lt;video src="brave.webm">
&lt;track kind=subtitles src=brave.en.vtt srclang=en label="English">
&lt;track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing">
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr label="Fran&ccedil;ais">
&lt;track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch">
&lt;track kind=subtitles src=brave.fr.vtt srclang=fr lang=fr label="Fran&ccedil;ais">
&lt;track kind=subtitles src=brave.de.vtt srclang=de lang=de label="Deutsch">
&lt;/video></pre>

</div>
Expand Down

0 comments on commit 2946a00

Please sign in to comment.