HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2937Make HTMLAreaElement stringify; make <textarea wrap=''> support the 'off' value.2009-03-31 21:55
@@ -27266,33 +27266,33 @@ function AddCloud(data, x, y) { ... }</pre>
    <dd><code title="attr-area-shape">shape</code></dd>
    <dd><code title="attr-hyperlink-href">href</code></dd>
    <dd><code title="attr-hyperlink-target">target</code></dd>
    <dd><code title="attr-hyperlink-ping">ping</code></dd>
    <dd><code title="attr-hyperlink-rel">rel</code></dd>
    <dd><code title="attr-hyperlink-media">media</code></dd>
    <dd><code title="attr-hyperlink-hreflang">hreflang</code></dd>
    <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>;
            attribute DOMString <span title="dom-area-href">href</span>;
            attribute DOMString <span title="dom-area-target">target</span>;
            attribute DOMString <span title="dom-area-ping">ping</span>;
            attribute DOMString <span title="dom-area-rel">rel</span>;
   readonly attribute DOMTokenList <span title="dom-area-relList">relList</span>;
            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>
 
   <p>The <code>area</code> element <span>represents</span> either a
   hyperlink with some text and a corresponding area on an <span>image
   map</span>, or a dead area on an image map.</p>
 
   <p>If the <code>area</code> element has an <code
   title="attr-hyperlink-href">href</code> attribute, then the
   <code>area</code> element represents a <span>hyperlink</span>. In
@@ -37396,20 +37396,24 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
   title="attr-textarea-wrap-hard-state">Hard</dfn> state. The
   <i>missing value default</i> is the <span
   title="attr-textarea-wrap-soft-state">Soft</span> state.</p>
 
   <p>If the element's <code title="attr-textarea-wrap">wrap</code>
   attribute is in the <span
   title="attr-textarea-wrap-hard-state">Hard</span> state, the <code
   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
   defined to be the element's <span
   title="concept-textarea-raw-value">raw value</span> with the
   following transformation applied:</p>
 
   <ol>
 
    <li><p>Replace every occurance of a U+000D CARRIAGE RETURN (CR)
@@ -72626,38 +72630,45 @@ select {
   <h4>The <code>textarea</code> element</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
 textarea { binding: <i title="">textarea</i>; }</pre>
 
   <p>When the <i title="">textarea</i> binding applies to a
   <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
   title="presentational hints">presentational hint</span> for the
   'width' property on the element, with the value obtained from
   applying the <span>converting a character width to pixels</span>
   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
   title="presentational hints">presentational hint</span> 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">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
   <code>frameset</code> element, the user agent is expected to render
   the <code>frameset</code> element as described below across the
   surface of the <span>view</span>, instead of applying the usual CSS
   rendering rules.</p>
 

|