spec/Overview.html 1.2102 2937 Make HTMLAreaElement stringify; make <te

Make HTMLAreaElement stringify; make <textarea wrap=''> support the
'off' value. (whatwg r2937)

4.8.13 The area element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2102.html#the-area-element
HTMLAreaElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2102.html#htmlareaelement
Hard
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2102.html#attr-textarea-wrap-hard-state
10.4.17 The textarea element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2102.html#the-textarea-element-0
10.5 Frames and framesets
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2102.html#frames-and-framesets

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2101&r2=1.2102&f=h
http://html5.org/tools/web-apps-tracker?from=2936&to=2937

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2101
retrieving revision 1.2102
diff -u -d -r1.2101 -r1.2102
--- Overview.html 31 Mar 2009 04:39:01 -0000 1.2101
+++ Overview.html 31 Mar 2009 21:55:41 -0000 1.2102
@@ -21862,7 +21862,7 @@
    <dd><code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code></dd>
    <dt>DOM interface:</dt>
    <dd>
-<pre class=idl>interface <dfn id=htmlareaelement>HTMLAreaElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+<pre class=idl>[Stringifies=href] interface <dfn id=htmlareaelement>HTMLAreaElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute DOMString <a href=#dom-area-alt title=dom-area-alt>alt</a>;
            attribute DOMString <a href=#dom-area-coords title=dom-area-coords>coords</a>;
            attribute DOMString <a href=#dom-area-shape title=dom-area-shape>shape</a>;
@@ -21874,7 +21874,7 @@
            attribute DOMString <a href=#dom-area-media title=dom-area-media>media</a>;
            attribute DOMString <a href=#dom-area-hreflang title=dom-area-hreflang>hreflang</a>;
            attribute DOMString <a href=#dom-area-type title=dom-area-type>type</a>;
-};</pre>
+};</pre><!-- XXX also support the URL decomposition attributes -->
    </dd>
   </dl><p>The <code><a href=#the-area-element>area</a></code> element <a href=#represents>represents</a> either a
   hyperlink with some text and a corresponding area on an <a href=#image-map>image
@@ -29559,7 +29559,9 @@
   which maps to the <dfn id=attr-textarea-wrap-hard-state title=attr-textarea-wrap-hard-state>Hard</dfn> state. The
   <i>missing value default</i> is the <a href=#attr-textarea-wrap-soft-state title=attr-textarea-wrap-soft-state>Soft</a> state.<p>If the element's <code title=attr-textarea-wrap><a href=#attr-textarea-wrap>wrap</a></code>
   attribute is in the <a href=#attr-textarea-wrap-hard-state title=attr-textarea-wrap-hard-state>Hard</a> state, the <code title=attr-textarea-cols><a href=#attr-textarea-cols>cols</a></code> attribute must be
-  specified.<div class=impl>
+  specified.</p><!-- attr-textarea-wrap-off (attr-textarea-wrap-off-state): not
+  conforming; turns off the rendering of wrapping but otherwise acts
+  like 'soft' --><div class=impl>
 
   <p>The element's <a href=#concept-fe-value title=concept-fe-value>value</a> is
   defined to be the element's <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a> with the
@@ -56328,7 +56330,7 @@
   <code><a href=#the-textarea-element>textarea</a></code> element, the element is expected to render as
   an 'inline-block' box rendered as a multiline text field.</p>
 
-  <p>If the element has a <code title=attr-input-cols>cols</code>
+  <p>If the element has a <code title=attr-textarea-cols><a href=#attr-textarea-cols>cols</a></code>
   attribute, and parsing that attribute's value using the <a href=#rules-for-parsing-non-negative-integers>rules
   for parsing non-negative integers</a> doesn't generate an error,
   then the user agent is expected to use the attribute as a <a href=#presentational-hints title="presentational hints">presentational hint</a> for the
@@ -56337,13 +56339,18 @@
   algorithm to the value of the attribute and then adding the width of
   a scroll bar.</p>
 
-  <p>If the element has a <code title=attr-input-rows>rows</code>
+  <p>If the element has a <code title=attr-textarea-rows><a href=#attr-textarea-rows>rows</a></code>
   attribute, and parsing that attribute's value using the <a href=#rules-for-parsing-non-negative-integers>rules
   for parsing non-negative integers</a> doesn't generate an error,
   then the user agent is expected to use the attribute as a <a href=#presentational-hints title="presentational hints">presentational hint</a> for the
   'height' property on the element, with the value being the specified
   number of lines, plus the height of a scrollbar.</p>
 
+  <p>For historical reasons, if the element has a <code title=attr-textarea-wrap><a href=#attr-textarea-wrap>wrap</a></code> attribute whose value is an
+  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title=attr-textarea-wrap-off>off</code>", then the user agent is
+  expected to not wrap the rendered value; otherwise, the value of the
+  control is expected to be wrapped to the width of the control.</p>
+
 
 
   <h3 id=frames-and-framesets><span class=secno>10.5 </span>Frames and framesets</h3>

Received on Thursday, 2 April 2009 04:07:05 UTC