Skip to content

Commit

Permalink
[e] (0) Fix <input type=image> example
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22657
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8060 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 15, 2013
1 parent df0b38b commit 3db3ece
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion complete.html
Expand Up @@ -49570,12 +49570,16 @@ <h6 id="image-button-state-(type=image)"><span class=secno>4.10.7.1.20 </span><d
<p>Take the following form:</p>

<pre>&lt;form action="process.cgi"&gt;
&lt;input type=image src=map.png name=where&gt;
&lt;input type=image src=map.png name=where alt="Show location list"&gt;
&lt;/form&gt;</pre>

<p>If the user clicked on the image at coordinate (127,40) then the URL used to submit the form
would be "<code title="">process.cgi?where.x=127&amp;where.y=40</code>".</p>

<p>(In this example, it's assumed that for users who don't see the map, and who instead just see
a button labeled "Show location list", clicking the button will cause the server to show a list
of locations to pick from instead of the map.)</p>

</div>


Expand Down
6 changes: 5 additions & 1 deletion index
Expand Up @@ -49570,12 +49570,16 @@ ldh-str = &lt; as defined in <a href=http://tools.ietf.org/html/rfc1034#se
<p>Take the following form:</p>

<pre>&lt;form action="process.cgi"&gt;
&lt;input type=image src=map.png name=where&gt;
&lt;input type=image src=map.png name=where alt="Show location list"&gt;
&lt;/form&gt;</pre>

<p>If the user clicked on the image at coordinate (127,40) then the URL used to submit the form
would be "<code title="">process.cgi?where.x=127&amp;where.y=40</code>".</p>

<p>(In this example, it's assumed that for users who don't see the map, and who instead just see
a button labeled "Show location list", clicking the button will cause the server to show a list
of locations to pick from instead of the map.)</p>

</div>


Expand Down
6 changes: 5 additions & 1 deletion source
Expand Up @@ -54340,12 +54340,16 @@ ldh-str = &lt; as defined in <a href="http://tools.ietf.org/html/rfc1034#s
<p>Take the following form:</p>

<pre>&lt;form action="process.cgi">
&lt;input type=image src=map.png name=where>
&lt;input type=image src=map.png name=where alt="Show location list">
&lt;/form></pre>

<p>If the user clicked on the image at coordinate (127,40) then the URL used to submit the form
would be "<code title="">process.cgi?where.x=127&amp;where.y=40</code>".</p>

<p>(In this example, it's assumed that for users who don't see the map, and who instead just see
a button labeled "Show location list", clicking the button will cause the server to show a list
of locations to pick from instead of the map.)</p>

</div>


Expand Down

0 comments on commit 3db3ece

Please sign in to comment.