[html5] r8060 - [e] (0) Fix <input type=image> example Fixing https://www.w3.org/Bugs/Public/sho [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 15 16:35:09 PDT 2013


Author: ianh
Date: 2013-07-15 16:35:08 -0700 (Mon, 15 Jul 2013)
New Revision: 8060

Modified:
   complete.html
   index
   source
Log:
[e] (0) Fix <input type=image> example
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22657
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-07-15 23:25:29 UTC (rev 8059)
+++ complete.html	2013-07-15 23:35:08 UTC (rev 8060)
@@ -49570,12 +49570,16 @@
    <p>Take the following form:</p>
 
    <pre><form action="process.cgi">
- <input type=image src=map.png name=where>
+ <input type=image src=map.png name=where alt="Show location list">
 </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&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>
 
 

Modified: index
===================================================================
--- index	2013-07-15 23:25:29 UTC (rev 8059)
+++ index	2013-07-15 23:35:08 UTC (rev 8060)
@@ -49570,12 +49570,16 @@
    <p>Take the following form:</p>
 
    <pre><form action="process.cgi">
- <input type=image src=map.png name=where>
+ <input type=image src=map.png name=where alt="Show location list">
 </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&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>
 
 

Modified: source
===================================================================
--- source	2013-07-15 23:25:29 UTC (rev 8059)
+++ source	2013-07-15 23:35:08 UTC (rev 8060)
@@ -54340,12 +54340,16 @@
    <p>Take the following form:</p>
 
    <pre><form action="process.cgi">
- <input type=image src=map.png name=where>
+ <input type=image src=map.png name=where alt="Show location list">
 </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&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>
 
 




More information about the Commit-Watchers mailing list