[html5] r920 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 18 21:06:35 PDT 2007
Author: ianh
Date: 2007-06-18 21:06:33 -0700 (Mon, 18 Jun 2007)
New Revision: 920
Modified:
index
source
Log:
[t] (2) Support 'action' and 'prompt' attributes on the obsolete <isindex> element
Modified: index
===================================================================
--- index 2007-06-19 03:58:25 UTC (rev 919)
+++ index 2007-06-19 04:06:33 UTC (rev 920)
@@ -37301,20 +37301,27 @@
<p>Act as if a start tag token with the tag name "form" had been
seen.</p>
+ <p>If the token has an attribute called "action", set the <code
+ title=attr-form-action>action</code> attribute on the resulting
+ <code>form</code> element to the value of the "action" attribute of
+ the token.</p>
+
<p>Act as if a start tag token with the tag name "hr" had been seen.</p>
<p>Act as if a start tag token with the tag name "p" had been seen.</p>
<p>Act as if a start tag token with the tag name "label" had been
- seen.</p>
+ seen.
<p>Act as if a stream of character tokens had been seen (see below
for what they should say).</p>
<p>Act as if a start tag token with the tag name "input" had been
- seen, with all the attributes from the "isindex" token, except with
- the "name" attribute set to the value "isindex" (ignoring any
- explicit "name" attribute).</p>
+ seen, with all the attributes from the "isindex" token except
+ "name", "action", and "prompt". Set the <code
+ title=attr-input-name>name</code> attribute of the resulting
+ <code>input</code> element to the value "<code
+ title="">isindex</code>".</p>
<p>Act as if a stream of character tokens had been seen (see below
for what they should say).</p>
@@ -37328,10 +37335,13 @@
<p>Act as if an end tag token with the tag name "form" had been seen.</p>
- <p>The two streams of character tokens together should, together with
- the <code>input</code> element, express the equivalent of "This is a
- searchable index. Insert your search keywords here: (input field)"
- in the user's preferred language.</p>
+ <p>If the token has an attribute with the name "prompt", then the
+ first stream of characters must be the same string as given in that
+ attribute, and the second stream of characters must be empty.
+ Otherwise, the two streams of character tokens together should,
+ together with the <code>input</code> element, express the equivalent
+ of "This is a searchable index. Insert your search keywords here:
+ (input field)" in the user's preferred language.</p>
<p class=big-issue> Then need to specify that if the form submission
causes just a single form control, whose name is "isindex", to be
Modified: source
===================================================================
--- source 2007-06-19 03:58:25 UTC (rev 919)
+++ source 2007-06-19 04:06:33 UTC (rev 920)
@@ -34581,30 +34581,56 @@
<dt id="isindex">A start tag whose tag name is "isindex"</dt>
<dd>
+
<p><span>Parse error</span>.</p>
+
<p>If the <span><code title="">form</code> element
pointer</span> is not null, then ignore the token.</p>
+
<p>Otherwise:</p>
+
<p>Act as if a start tag token with the tag name "form" had been seen.</p>
+
+ <p>If the token has an attribute called "action", set the
+ <code title="attr-form-action">action</code> attribute on the
+ resulting <code>form</code> element to the value of the
+ "action" attribute of the token.</p>
+
<p>Act as if a start tag token with the tag name "hr" had been seen.</p>
+
<p>Act as if a start tag token with the tag name "p" had been seen.</p>
- <p>Act as if a start tag token with the tag name "label" had been seen.</p>
- <p>Act as if a stream of character tokens had been seen (see below for what they should say).</p>
- <p>Act as if a start tag token with the tag name "input" had been
- seen, with all the attributes from the "isindex" token, except
- with the "name" attribute set to the value "isindex" (ignoring
- any explicit "name" attribute).</p>
- <p>Act as if a stream of character tokens had been seen (see below for what they should say).</p>
+
+ <p>Act as if a start tag token with the tag name "label" had been seen.</p
+
+ <p>Act as if a stream of character tokens had been seen (see
+ below for what they should say).</p>
+
+ <p>Act as if a start tag token with the tag name "input" had
+ been seen, with all the attributes from the "isindex" token
+ except "name", "action", and "prompt". Set the <code
+ title="attr-input-name">name</code> attribute of the resulting
+ <code>input</code> element to the value "<code
+ title="">isindex</code>".</p>
+
+ <p>Act as if a stream of character tokens had been seen (see
+ below for what they should say).</p>
+
<p>Act as if an end tag token with the tag name "label" had been seen.</p>
+
<p>Act as if an end tag token with the tag name "p" had been seen.</p>
+
<p>Act as if a start tag token with the tag name "hr" had been seen.</p>
+
<p>Act as if an end tag token with the tag name "form" had been seen.</p>
- <p>The two streams of character tokens together should,
- together with the <code>input</code> element, express the
- equivalent of "This is a searchable index. Insert your search
- keywords here: (input field)" in the user's preferred
- language.</p>
+ <p>If the token has an attribute with the name "prompt", then
+ the first stream of characters must be the same string as
+ given in that attribute, and the second stream of characters
+ must be empty. Otherwise, the two streams of character tokens
+ together should, together with the <code>input</code> element,
+ express the equivalent of "This is a searchable index. Insert
+ your search keywords here: (input field)" in the user's
+ preferred language.</p>
<p class="big-issue">
Then need to specify that if the form submission causes just a single
More information about the Commit-Watchers
mailing list