HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2937

File a bug

SVNBugCommentTime (UTC)
2937Make HTMLAreaElement stringify; make <textarea wrap=''> support the 'off' value.2009-03-31 21:55
Index: source
===================================================================
--- source	(revision 2936)
+++ source	(revision 2937)
@@ -27273,7 +27273,7 @@
    <dd><code title="attr-hyperlink-type">type</code></dd>
    <dt>DOM interface:</dt>
    <dd>
-<pre class="idl">interface <dfn>HTMLAreaElement</dfn> : <span>HTMLElement</span> {
+<pre class="idl">[Stringifies=href] interface <dfn>HTMLAreaElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-area-alt">alt</span>;
            attribute DOMString <span title="dom-area-coords">coords</span>;
            attribute DOMString <span title="dom-area-shape">shape</span>;
@@ -27285,7 +27285,7 @@
            attribute DOMString <span title="dom-area-media">media</span>;
            attribute DOMString <span title="dom-area-hreflang">hreflang</span>;
            attribute DOMString <span title="dom-area-type">type</span>;
-};</pre>
+};</pre><!-- XXX also support the URL decomposition attributes -->
    </dd>
   </dl>
 
@@ -37403,6 +37403,10 @@
   title="attr-textarea-cols">cols</code> attribute must be
   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 <span title="concept-fe-value">value</span> is
@@ -72633,7 +72637,7 @@
   <code>textarea</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">cols</code>
   attribute, and parsing that attribute's value using the <span>rules
   for parsing non-negative integers</span> doesn't generate an error,
   then the user agent is expected to use the attribute as a <span
@@ -72643,7 +72647,7 @@
   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">rows</code>
   attribute, and parsing that attribute's value using the <span>rules
   for parsing non-negative integers</span> doesn't generate an error,
   then the user agent is expected to use the attribute as a <span
@@ -72651,8 +72655,15 @@
   '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">wrap</code> attribute whose value is an
+  <span>ASCII case-insensitive</span> 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>Frames and framesets</h3>
 
   <p>When an <code>html</code> element's second child element is a

|