Skip to content
Permalink
Browse files
[e] (0) add more uda examples
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10410

git-svn-id: http://svn.whatwg.org/webapps@5588 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 7, 2010
1 parent fb9f1e3 commit e00e236dbf3a36d82c90bef2aa2fc87fd34db1dd
Showing with 107 additions and 3 deletions.
  1. +34 −2 complete.html
  2. +33 −1 index
  3. +40 −0 source
@@ -214,7 +214,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 6 October 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 7 October 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -6219,6 +6219,38 @@ <h4 id=interfaces-for-url-manipulation><span class=secno>2.6.3 </span>Interfaces
<td> The (empty) <a href=#url-fragment title=url-fragment>&lt;fragment&gt;</a> component is not part of the <a href=#url-query title=url-query>&lt;query&gt;</a> component.
</table></div>

<div class=example>

<p>The following table is similar; it provides a list of what each
of the <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a> returns for a
given <var title="">input</var> URL.</p>

<table><thead><tr><th>Input
<th><code title=dom-uda-protocol><a href=#dom-uda-protocol>protocol</a></code>
<th><code title=dom-uda-host><a href=#dom-uda-host>host</a></code>
<th><code title=dom-uda-hostname><a href=#dom-uda-hostname>hostname</a></code>
<th><code title=dom-uda-port><a href=#dom-uda-port>port</a></code>
<th><code title=dom-uda-pathname><a href=#dom-uda-pathname>pathname</a></code>
<th><code title=dom-uda-search><a href=#dom-uda-search>search</a></code>
<th><code title=dom-uda-hash><a href=#dom-uda-hash>hash</a></code>
<tbody><tr><td><code title="">http://example.com/carrot#question%3f</code>
<td><code title="">http:</code>
<td><code title="">example.com</code>
<td><code title="">example.com</code>
<td>(empty string)
<td><code title="">/carrot</code>
<td>(empty string)
<td><code title="">#question%3f</code>
<tr><td><code title="">https://www.example.com:4443?</code>
<td><code title="">https:</code>
<td><code title="">www.example.com:4443</code>
<td><code title="">www.example.com</code>
<td><code title="">4443</code>
<td><code title="">/</code>
<td><code title="">?</code>
<td>(empty string)
</table></div>


<div class=impl>

@@ -32454,7 +32486,7 @@ <h6 id=text-0><span class=secno>4.8.11.1.10 </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 " height=300 src=http://images.whatwg.org/baselines.png width=738>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."&gt;</p>

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

34 index
@@ -218,7 +218,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 6 October 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 7 October 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -6196,6 +6196,38 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<td> The (empty) <a href=#url-fragment title=url-fragment>&lt;fragment&gt;</a> component is not part of the <a href=#url-query title=url-query>&lt;query&gt;</a> component.
</table></div>

<div class=example>

<p>The following table is similar; it provides a list of what each
of the <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a> returns for a
given <var title="">input</var> URL.</p>

<table><thead><tr><th>Input
<th><code title=dom-uda-protocol><a href=#dom-uda-protocol>protocol</a></code>
<th><code title=dom-uda-host><a href=#dom-uda-host>host</a></code>
<th><code title=dom-uda-hostname><a href=#dom-uda-hostname>hostname</a></code>
<th><code title=dom-uda-port><a href=#dom-uda-port>port</a></code>
<th><code title=dom-uda-pathname><a href=#dom-uda-pathname>pathname</a></code>
<th><code title=dom-uda-search><a href=#dom-uda-search>search</a></code>
<th><code title=dom-uda-hash><a href=#dom-uda-hash>hash</a></code>
<tbody><tr><td><code title="">http://example.com/carrot#question%3f</code>
<td><code title="">http:</code>
<td><code title="">example.com</code>
<td><code title="">example.com</code>
<td>(empty string)
<td><code title="">/carrot</code>
<td>(empty string)
<td><code title="">#question%3f</code>
<tr><td><code title="">https://www.example.com:4443?</code>
<td><code title="">https:</code>
<td><code title="">www.example.com:4443</code>
<td><code title="">www.example.com</code>
<td><code title="">4443</code>
<td><code title="">/</code>
<td><code title="">?</code>
<td>(empty string)
</table></div>


<div class=impl>

40 source
@@ -5836,6 +5836,46 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<div class="example">

<p>The following table is similar; it provides a list of what each
of the <span>URL decomposition IDL attributes</span> returns for a
given <var title="">input</var> URL.</p>

<table>
<thead>
<tr>
<th>Input
<th><code title="dom-uda-protocol">protocol</code>
<th><code title="dom-uda-host">host</code>
<th><code title="dom-uda-hostname">hostname</code>
<th><code title="dom-uda-port">port</code>
<th><code title="dom-uda-pathname">pathname</code>
<th><code title="dom-uda-search">search</code>
<th><code title="dom-uda-hash">hash</code>
<tbody>
<tr>
<td><code title="">http://example.com/carrot#question%3f</code>
<td><code title="">http:</code>
<td><code title="">example.com</code>
<td><code title="">example.com</code>
<td>(empty string)
<td><code title="">/carrot</code>
<td>(empty string)
<td><code title="">#question%3f</code>
<tr>
<td><code title="">https://www.example.com:4443?</code>
<td><code title="">https:</code>
<td><code title="">www.example.com:4443</code>
<td><code title="">www.example.com</code>
<td><code title="">4443</code>
<td><code title="">/</code>
<td><code title="">?</code>
<td>(empty string)
</table>

</div>


<div class="impl">

0 comments on commit e00e236

Please sign in to comment.