[Bug 11734] Document the special effect of dir=auto on <pre> and <textarea>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11734

Aharon Lanin <aharon.lists.lanin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #6 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2011-02-16 16:45:34 UTC ---
The change made by http://html5.org/tools/web-apps-tracker?from=5886&to=5887 is
partially incorrect, because it says that the style layer can implement the
bidi paragraph breaking requirements of <br>, as well as newlines in <pre> and
<textarea> by "implementing the CSS 'unicode-bidi' property". As far as I know,
unicode-bidi can not implement the bidi paragraph breaking requirements of
these elements. What the style layer can and should do, however, is simply
implement the Unicode Bidi Algorithm re newlines, which the UBA defines to be
bidi paragraph breaks. This will result in the newlines in <pre> and <textarea>
serving as paragraph breaks, since the existing default white-space style of
these elements, as implemented by the style layer, will leave the newlines in
these elements' content. For <br>, the style layer should be able to implement
it being a paragraph break via the default stylesheet settings for <br>, as
they already appear in
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#punctuation-and-decorations:

br { content: '\A'; white-space: pre; }

I do realize that this comment has nothing to do with the subject of this bug
(which is dir=auto), and will file a separate bug on the above if you prefer I
do so.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 16 February 2011 16:45:38 UTC