ISSUE-41: Line breaks in textarea and pre elements

Line breaks in textarea and pre elements

Raised by:
Richard Ishida
Opened on:
This is a part of the proposals made by the "Additional Requirements for Bidi in HTML" W3C First Public Working Draft. For a full description of the use cases, please see Here is the proposal made there:

In elements where line breaks are not collapsed, e.g. <textarea> and elements with white-space:pre|pre-line|pre-wrap, line breaks should constitute UBA paragraph breaks.

When a line break introduces a UBA paragraph break, the base direction of the new UBA paragraph will be determined by the computed direction of the nearest ancestor element whose bidi properties require its contents to be in a separate UBA paragraph (or sequence of paragraphs), e.g. a block element or an element directionally isolated by the ubi attribute (which is being proposed in a separate bug). Furthermore, for every element on the path in between that results in the creation of an embedding or override level, e.g. a <bdo> element or any element with a dir attribute or a value other than "normal" for the unicode-bidi CSS property, the correspondeng embedding or override level is re-introduced at the start of the new UBA paragraph (to be closed at the end of the element or the UBA paragraph, whichever comes first).

Please add comments to bugzilla:

For implementation status see:

IMPORTANT: This issue was moved from our old review tracking system to the new tracker system. For previous mail relating to this issue, see:
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (from on 2015-03-25)
  2. I18N-ISSUE-41: Line breaks in textarea and pre elements [HTML5-bidi] (from on 2011-06-20)

Related notes:

No additional notes.

Display change log ATOM feed

Addison Phillips <>, Chair, Richard Ishida <>, Atsushi Shimono <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $