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

hixie: Update bidi requirements for <pre>, <textarea>, and <br>. (whatwg r5887)

From: poot <cvsmail@w3.org>
Date: Mon, 14 Feb 2011 18:53:40 -0500
To: public-html-diffs@w3.org
Message-Id: <E1Pp8Ee-0001NO-Nu@jay.w3.org>
hixie: Update bidi requirements for <pre>, <textarea>, and <br>. (whatwg
r5887)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4728&r2=1.4729&f=h
http://html5.org/tools/web-apps-tracker?from=5886&to=5887

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4728
retrieving revision 1.4729
diff -u -d -r1.4728 -r1.4729
--- Overview.html	14 Feb 2011 23:27:24 -0000	1.4728
+++ Overview.html	14 Feb 2011 23:52:21 -0000	1.4729
@@ -15498,14 +15498,15 @@
   block of computer output the <code><a href="#the-pre-element">pre</a></code> element can be used
   with a <code><a href="#the-samp-element">samp</a></code> element. Similarly, the <code><a href="#the-kbd-element">kbd</a></code>
   element can be used within a <code><a href="#the-pre-element">pre</a></code> element to indicate
-  text that the user is to enter.<p class="note">A newline in a <code><a href="#the-pre-element">pre</a></code> element separates
+  text that the user is to enter.<div class="impl">
+
+  <p>A newline in a <code><a href="#the-pre-element">pre</a></code> element should separate
   paragraphs for the purposes of the Unicode bidirectional algorithm.
-  <a href="#refsBIDI">[BIDI]</a><p>If the element's <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute is
-  in the <i title="attr-dir-auto-state"><a href="#attr-dir-auto-state">auto</a></i> state, then for the
-  purposes of the bidirectional algorithm, the user agent must <span class="XXX">act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
   This requirement may be implemented indirectly through the style
   layer. For example, an HTML+CSS user agent could implement these
-  requirements by implementing the CSS 'unicode-bidi' property. <a href="#refsCSS">[CSS]</a><div class="example">
+  requirements by implementing the CSS 'unicode-bidi' property. <a href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>
+
+  </div><div class="example">
 
    <p>In the following snippet, a sample of computer code is
    presented.</p>
@@ -17974,8 +17975,12 @@
   <p>Any content inside <code><a href="#the-br-element">br</a></code> elements must not be
   considered part of the surrounding text.</p>
 
-  <p class="note">A <code><a href="#the-br-element">br</a></code> element separates paragraphs for
-  the purposes of the Unicode bidirectional algorithm. <a href="#refsBIDI">[BIDI]</a></p>
+  <p>A <code><a href="#the-br-element">br</a></code> element should separate paragraphs for the
+  purposes of the Unicode bidirectional algorithm. This requirement
+  may be implemented indirectly through the style layer. For example,
+  an HTML+CSS user agent could implement these requirements by
+  implementing the CSS 'unicode-bidi' property. <a href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>
+
 
   </div><h4 id="the-wbr-element"><span class="secno">4.6.26 </span>The <dfn><code>wbr</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content">Flow content</a>.</dd>
@@ -36240,10 +36245,13 @@
   a <code><a href="#the-textarea-element">textarea</a></code> control must be initially the empty
   string.</p>
 
-  </div><p class="note">A newline in a <code><a href="#the-textarea-element">textarea</a></code> element, and in
-  its <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a>,
-  separates paragraphs for the purposes of the Unicode bidirectional
-  algorithm. <a href="#refsBIDI">[BIDI]</a><p>The <dfn id="attr-textarea-readonly" title="attr-textarea-readonly"><code>readonly</code></dfn> attribute
+  <p>A newline in a <code><a href="#the-textarea-element">textarea</a></code> element, and in its <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a>, should separate
+  paragraphs for the purposes of the Unicode bidirectional algorithm.
+  This requirement may be implemented indirectly through the style
+  layer. For example, an HTML+CSS user agent could implement these
+  requirements by implementing the CSS 'unicode-bidi' property. <a href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>
+
+  </div><p>The <dfn id="attr-textarea-readonly" title="attr-textarea-readonly"><code>readonly</code></dfn> attribute
   is a <a href="#boolean-attribute">boolean attribute</a> used to control whether the text
   can be edited by the user or not.<div class="impl">
 
@@ -36406,12 +36414,7 @@
   attribute represents the element's name. The <code title="attr-fe-disabled"><a href="#attr-fe-disabled">disabled</a></code> attribute is used to make
   the control non-interactive and to prevent its value from being
   submitted. The <code title="attr-fe-autofocus"><a href="#attr-fe-autofocus">autofocus</a></code>
-  attribute controls focus.<hr><p>If the element's <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute is
-  in the <i title="attr-dir-auto-state"><a href="#attr-dir-auto-state">auto</a></i> state, then for the
-  purposes of the bidirectional algorithm, the user agent must <span class="XXX">act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
-  This requirement may be implemented indirectly through the style
-  layer. For example, an HTML+CSS user agent could implement these
-  requirements by implementing the CSS 'unicode-bidi' property. <a href="#refsCSS">[CSS]</a><hr><dl class="domintro"><dt><var title="">textarea</var> . <code title="attr-textarea-type">type</code></dt>
+  attribute controls focus.<dl class="domintro"><dt><var title="">textarea</var> . <code title="attr-textarea-type">type</code></dt>
 
    <dd>
Received on Monday, 14 February 2011 23:53:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 February 2011 23:53:44 GMT