- From: Simon Pieters via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 14 Sep 2012 12:27:21 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv17507
Modified Files:
Overview.html Overview.src.html
Log Message:
better example for form=""
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -d -r1.184 -r1.185
--- Overview.html 14 Sep 2012 12:12:45 -0000 1.184
+++ Overview.html 14 Sep 2012 12:27:19 -0000 1.185
@@ -598,10 +598,18 @@
placed anywhere on a page, not just as descendants of the
<code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code> element, and still be associated with a <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code>.</p>
- <pre><code><label>Email:
- <input type=email <strong>form=foo</strong> name=email>
-</label>
-<form <strong>id=foo</strong>></form></code></pre>
+ <pre><table>
+ <tr>
+ <th>Key
+ <th>Value
+ <th>Action
+ <tr>
+ <td><form <strong>id=1</strong>><input name=1-key></form>
+ <td><input <strong>form=1</strong> name=1-value>
+ <td><button <strong>form=1</strong> name=1-action value=save>✓</button>
+ <button <strong>form=1</strong> name=1-action value=delete>✗</button>
+ ...
+</table></pre>
</li>
<li><p>The new <code class="external" title="attr-input-required"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-required">required</a></code> attribute applies to
Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -d -r1.197 -r1.198
--- Overview.src.html 14 Sep 2012 12:12:45 -0000 1.197
+++ Overview.src.html 14 Sep 2012 12:27:19 -0000 1.198
@@ -553,10 +553,18 @@
placed anywhere on a page, not just as descendants of the
<code data-anolis-spec=html>form</code> element, and still be associated with a <code data-anolis-spec=html>form</code>.</p>
- <pre><code><label>Email:
- <input type=email <strong>form=foo</strong> name=email>
-</label>
-<form <strong>id=foo</strong>></form></code></pre>
+ <pre><table>
+ <tr>
+ <th>Key
+ <th>Value
+ <th>Action
+ <tr>
+ <td><form <strong>id=1</strong>><input name=1-key></form>
+ <td><input <strong>form=1</strong> name=1-value>
+ <td><button <strong>form=1</strong> name=1-action value=save>✓</button>
+ <button <strong>form=1</strong> name=1-action value=delete>✗</button>
+ ...
+</table></pre>
</li>
<li><p>The new <code data-anolis-spec=html title=attr-input-required>required</code> attribute applies to
Received on Friday, 14 September 2012 12:27:23 UTC