Skip to content

Commit

Permalink
[e] (0) html is hard
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1082 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 19, 2007
1 parent 2b9677f commit 6cabe85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -11099,8 +11099,8 @@ Applications over the World Wide Web.&lt;/p></pre>
doesn't give a range (and since the default maximum is 1, both of the
gauges would end up looking maxed out):</p>

<pre>&lt;p>The grapefruit pie had a radius of <meter>12cm</meter>
and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pre>
<pre>&lt;p>The grapefruit pie had a radius of <meter>12cm&lt;/meter>
and a height of <meter>2cm&lt;/meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></meter></meter></pre>

<p>Instead, one would either not include the meter element, or use the
meter element with a defined range to give the dimensions in context
Expand All @@ -11109,9 +11109,9 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr
<pre>&lt;p>The grapefruit pie had a radius of 12cm and a height of
2cm.&lt;/p>
&lt;dl>
&lt;dt>Radius: &lt;dd> <meter max=20 min=0 value=12>12cm</meter>
&lt;dt>Height: &lt;dd> <meter max=10 min=0 value=2>2cm</meter>
&lt;/dl></pre>
&lt;dt>Radius: &lt;dd> <meter max=20 min=0 value=12>12cm&lt;/meter>
&lt;dt>Height: &lt;dd> <meter max=10 min=0 value=2>2cm&lt;/meter>
&lt;/dl></meter></meter></pre>
</div>

<p>There is no explicit way to specify units in the <code><a
Expand All @@ -11123,9 +11123,9 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr
<p>The example above could be extended to mention the units:</p>

<pre>&lt;dl>
&lt;dt>Radius: &lt;dd> <meter max=20 min=0 title=centimeters value=12>12cm</meter>
&lt;dt>Height: &lt;dd> <meter max=10 min=0 title=centimeters value=2>2cm</meter>
&lt;/dl></pre>
&lt;dt>Radius: &lt;dd> <meter max=20 min=0 title=centimeters value=12>12cm&lt;/meter>
&lt;dt>Height: &lt;dd> <meter max=10 min=0 title=centimeters value=2>2cm&lt;/meter>
&lt;/dl></meter></meter></pre>
</div>

<p><strong>User agent requirements</strong>: User agents must parse the
Expand Down Expand Up @@ -11358,7 +11358,7 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr
href="#textcontent">textContent</a></code> in-line...</p>
<!-- XXX
should we also look inside the title="" attribute?
Disk usage: <meter title="985MB of 986MB total" high="980">Full!</meter>
Disk usage: <meter title="985MB of 986MB total" high="980">Full!&lt;/meter>
should we make the contents accessible in some way, e.g. as a tooltip?
-->

Expand Down
14 changes: 7 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -9162,8 +9162,8 @@ Applications over the World Wide Web.&lt;/p></pre>
it doesn't give a range (and since the default maximum is 1, both
of the gauges would end up looking maxed out):</p>

<pre>&lt;p>The grapefruit pie had a radius of <meter>12cm</meter>
and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pre>
<pre>&lt;p>The grapefruit pie had a radius of <meter>12cm&lt;/meter>
and a height of <meter>2cm&lt;/meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pre>

<p>Instead, one would either not include the meter element, or use
the meter element with a defined range to give the dimensions in
Expand All @@ -9172,8 +9172,8 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr
<pre>&lt;p>The grapefruit pie had a radius of 12cm and a height of
2cm.&lt;/p>
&lt;dl>
&lt;dt>Radius: &lt;dd> <meter min=0 max=20 value=12>12cm</meter>
&lt;dt>Height: &lt;dd> <meter min=0 max=10 value=2>2cm</meter>
&lt;dt>Radius: &lt;dd> <meter min=0 max=20 value=12>12cm&lt;/meter>
&lt;dt>Height: &lt;dd> <meter min=0 max=10 value=2>2cm&lt;/meter>
&lt;/dl></pre>

</div>
Expand All @@ -9187,8 +9187,8 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr
<p>The example above could be extended to mention the units:</p>

<pre>&lt;dl>
&lt;dt>Radius: &lt;dd> <meter min=0 max=20 value=12 title="centimeters">12cm</meter>
&lt;dt>Height: &lt;dd> <meter min=0 max=10 value=2 title="centimeters">2cm</meter>
&lt;dt>Radius: &lt;dd> <meter min=0 max=20 value=12 title="centimeters">12cm&lt;/meter>
&lt;dt>Height: &lt;dd> <meter min=0 max=10 value=2 title="centimeters">2cm&lt;/meter>
&lt;/dl></pre>

</div>
Expand Down Expand Up @@ -9437,7 +9437,7 @@ and a height of <meter>2cm</meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> --></pr

<!-- XXX
should we also look inside the title="" attribute?
Disk usage: <meter title="985MB of 986MB total" high="980">Full!</meter>
Disk usage: <meter title="985MB of 986MB total" high="980">Full!&lt;/meter>
should we make the contents accessible in some way, e.g. as a tooltip?
-->

Expand Down

0 comments on commit 6cabe85

Please sign in to comment.