ISSUE-41: Line breaks in textarea and pre elements
Line breaks in textarea and pre elements
- State:
- CLOSED
- Product:
- html
- Raised by:
- Richard Ishida
- Opened on:
- 2011-06-20
- Description:
- 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 http://www.w3.org/International/docs/html-bidi-requirements/#newline-as-separator. 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:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10812
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11502
For implementation status see:
https://docs.google.com/document/d/17nb3wlYkIG9MNtL1mlXVPOVe4QwyApiHRYim3nTi5CE/edit?hl=en&pli=1#heading=h.5ximwchvrxcg
IMPORTANT: This issue was moved from our old review tracking system to the new tracker system. For previous mail relating to this issue, see: http://www.w3.org/Search/Mail/Public/advanced_search?keywords=&hdr-1-name=subject&hdr-1-query=%20line%20breaks%20in%20textarea%20and%20pre%20elements&hdr-2-name=from&hdr-2-query=&hdr-3-name=message-id&hdr-3-query=&index-grp=Member__FULL+Public__FULL&index-type=t&type-index=public-i18n-bidi%40w3.org&resultsperpage=20&sortby=date - Related Actions Items:
- No related actions
- Related emails:
- Review of tracker issues for best practices (from addison@lab126.com on 2015-03-25)
- I18N-ISSUE-41: Line breaks in textarea and pre elements [HTML5-bidi] (from sysbot+tracker@w3.org on 2011-06-20)
Related notes:
No additional notes.
Display change log