W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2009

spec/Overview.html 1.1939 2769 Filling in the rendering section: <texta

From: poot <cvsmail@w3.org>
Date: Tue, 10 Feb 2009 09:18:54 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090210001854.940432BCC6@toro.w3.mag.keio.ac.jp>

Filling in the rendering section: <textarea>; minor editorial fixes here
and there. (whatwg r2769)

10.4 Bindings
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#bindings
10.5 Frames and framesets
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#frames-and-framesets
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#status-of-this-document
10.4.17 The textarea element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#the-textarea-element-0
width of the select's labels
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#width-of-the-select-s-labels
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
10.4.6 The input element as a text entry widget
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#the-input-element-as-a-text-entry-widget
converting a character width to pixels
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#converting-a-character-width-to-pixels
10.4.7 The input element as domain-specific widgets
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#the-input-element-as-domain-specific-widgets
10.4.16 The select element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#the-select-element-0
10.4.2 The bb element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#the-bb-element-0
Editor's Draft 10 February 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1939.html#editor-s-draft-date-zzz-9-june-2008

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1938&r2=1.1939&f=h
http://html5.org/tools/web-apps-tracker?from=2768&to=2769

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1938
retrieving revision 1.1939
diff -u -d -r1.1938 -r1.1939
--- Overview.html	10 Feb 2009 00:06:12 -0000	1.1938
+++ Overview.html	10 Feb 2009 00:15:56 -0000	1.1939
@@ -10,7 +10,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->9 February 2009</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->10 February 2009</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090610/">http://www.w3.org/TR/2009/WD-html5-20090610/</a></dd>
@@ -99,7 +99,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 9 February 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 10 February 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -47135,7 +47135,13 @@
   the 'appearance' CSS property appropriately to achieve
   platform-native appearances for widgets, and are expected to
   implement any relevant animations, etc, that are appropriate for the
-  platform. <a href=#references>[CSSUI]</a><h4 id=the-bb-element-0><span class=secno>10.4.2 </span>The <code><a href=#the-bb-element>bb</a></code> element</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
+  platform. <a href=#references>[CSSUI]</a></p><hr><p>The <dfn id=converting-a-character-width-to-pixels>converting a character width to pixels</dfn> algorithm,
+  used by some of the bindings below, returns <span>(<var title="">size-1</var>)&times;<var title="">avg</var>&nbsp;+&nbsp;<var title="">max</var></span>, where
+  <var title="">size</var> is the character width to convert, <var title="">avg</var> is the average character width of the primary
+  font for the element for which the algorithm is being run, in
+  pixels, and <var title="">max</var> is the maximum character width
+  of that same font, also in pixels. (The element's 'letter-spacing'
+  property does not affect the result.)<h4 id=the-bb-element-0><span class=secno>10.4.2 </span>The <code><a href=#the-bb-element>bb</a></code> element</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
 bb:empty { binding: <i title="">bb</i>; }</pre><p>When the <i title="">bb</i> binding applies to a <code><a href=#the-bb-element>bb</a></code>
   element, the element is expected to render as an 'inline-block' box
@@ -47189,22 +47195,15 @@
   states has a <code title=attr-input-size><a href=#attr-input-size>size</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>presentational hints</a> for the 'width' property on the
-  element, with the value obtained from applying the <a href=#converting-a-character-width-to-pixels>converting
-  a character width to pixels</a> algorithm to the value of the
-  attribute.<p>If an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of the above
+  user agent is expected to use the attribute as a <a href=#presentational-hints title="presentational hints">presentational hint</a> for the
+  'width' property on the element, with the value obtained from
+  applying the <a href=#converting-a-character-width-to-pixels>converting a character width to pixels</a>
+  algorithm to the value of the attribute.<p>If an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of the above
   states does <em>not</em> have a <code title=attr-input-size><a href=#attr-input-size>size</a></code> attribute, then the user agent
   is expected to act as if it had a user-agent-level style sheet rule
   setting the 'width' property on the element to the value obtained
   from applying the <a href=#converting-a-character-width-to-pixels>converting a character width to
-  pixels</a> algorithm to the number 20.<p>The <dfn id=converting-a-character-width-to-pixels>converting a character width to pixels</dfn> algorithm
-  return <span>(<var title="">size-1</var>)&times;<var title="">avg</var>&nbsp;+&nbsp;<var title="">max</var></span>, where
-  <var title="">size</var> is the character width to convert, <var title="">avg</var> is the average character width of the primary
-  font for the element for which the algorithm is being run, in
-  pixels, and <var title="">max</var> is the maximum character width
-  of that same font, also in pixels. (The element's 'letter-spacing'
-  property does not affect the result.)<h4 id=the-input-element-as-domain-specific-widgets><span class=secno>10.4.7 </span>The <code><a href=#the-input-element>input</a></code> element as domain-specific widgets</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
+  pixels</a> algorithm to the number 20.<h4 id=the-input-element-as-domain-specific-widgets><span class=secno>10.4.7 </span>The <code><a href=#the-input-element>input</a></code> element as domain-specific widgets</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
 input[type=datetime] { binding: <i title="">input-datetime</i>; }
 input[type=date] { binding: <i title="">input-date</i>; }
@@ -47332,16 +47331,17 @@
   expected to render as a single-select list box.<p>When the element renders as a list box, it is expected to render
   as an 'inline-block' box whose 'height' is the height necessary to
   contain as many rows for items as <a href=#rules-for-parsing-non-negative-integers title="rules for parsing
-  non-negative integers">specified</a> by the element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, and whose 'width' is
-  the <a href=#width-of-the-select-s-labels>width of the <code>select</code>'s labels</a>, plus the
-  width of a scrollbar.<p>When the <i title="">select</i> binding applies to a
+  non-negative integers">specified</a> by the element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, or four rows if the
+  attribute is absent, and whose 'width' is the <a href=#width-of-the-select-s-labels>width of the
+  <code>select</code>'s labels</a> plus the width of a
+  scrollbar.<p>When the <i title="">select</i> binding applies to a
   <code><a href=#the-select-element>select</a></code> element whose <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is absent,
   and the element's <code title=attr-select-size><a href=#attr-select-size>size</a></code>
   attribute is either absent or <a href=#rules-for-parsing-non-negative-integers title="rules for parsing
-  non-negative integers">specifies</a> a value less than or equal
-  to 1, the element is expected to render as a one-line drop down box
-  whose width is the <a href=#width-of-the-select-s-labels>width of the <code>select</code>'s
-  labels</a>.<p>In either case (list box or drop-down box), the element's items
+  non-negative integers">specifies</a> either no value (an error),
+  or a value less than or equal to 1, the element is expected to
+  render as a one-line drop down box whose width is the <a href=#width-of-the-select-s-labels>width of
+  the <code>select</code>'s labels</a>.<p>In either case (list box or drop-down box), the element's items
   are expected to be the element's <a href=#concept-select-option-list title=concept-select-option-list>list of options</a>, with the
   element's <code><a href=#the-optgroup-element>optgroup</a></code> element children providing headers
   for groups of options where applicable.<p>The <dfn id=width-of-the-select-s-labels>width of the <code>select</code>'s labels</dfn> is the
@@ -47351,7 +47351,23 @@
   its indent, if any).<p>An <code><a href=#the-optgroup-element>optgroup</a></code> element is expected to be rendered by
   displaying the element's <code title=attr-optgroup-label><a href=#attr-optgroup-label>label</a></code> attribute.<p>An <code><a href=#the-option-element>option</a></code> element is expected to be rendered by
   displaying the element's <code title=concept-option-label><a href=#concept-option-label>label</a></code>, indented under its
-  <code><a href=#the-optgroup-element>optgroup</a></code> element if it has one.<h4 id=the-textarea-element-0><span class=secno>10.4.17 </span>The <code><a href=#the-textarea-element>textarea</a></code> element</h4><p class=XXX>...<h3 id=frames-and-framesets><span class=secno>10.5 </span>Frames and framesets</h3><p>When an <code><a href=#the-html-element>html</a></code> element's second child element is a
+  <code><a href=#the-optgroup-element>optgroup</a></code> element if it has one.<h4 id=the-textarea-element-0><span class=secno>10.4.17 </span>The <code><a href=#the-textarea-element>textarea</a></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><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>If the element has a <code title=attr-input-cols>cols</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
+  'width' property on the element, with the value obtained from
+  applying the <a href=#converting-a-character-width-to-pixels>converting a character width to pixels</a>
+  algorithm to the value of the attribute and then adding the width of
+  a scroll bar.<p>If the element has a <code title=attr-input-rows>rows</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.<h3 id=frames-and-framesets><span class=secno>10.5 </span>Frames and framesets</h3><p>When an <code><a href=#the-html-element>html</a></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 <a href=#view>view</a>, instead of applying the usual CSS
Received on Tuesday, 10 February 2009 00:19:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:58 GMT