This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10811 - i18n comment 6 : U+2028 and U+2029 in dialog text
Summary: i18n comment 6 : U+2028 and U+2029 in dialog text
Status: CLOSED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 12:36 UTC by i18n bidi group
Modified: 2011-01-22 20:22 UTC (History)
9 users (show)

See Also:


Attachments

Description i18n bidi group 2010-09-29 12:36:27 UTC
Comment from the i18n review of:
http://dev.w3.org/html5/spec/

Comment 6
At http://www.w3.org/International/reviews/html5-bidi/
Editorial/substantive: S
Tracked by: AL

Location in reviewed document:
undefined [http://dev.w3.org/html5/spec/spec.html#contents]

Comment: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 [http://www.w3.org/International/docs/html-bidi-requirements/#newline-as-separator]
. Here is the proposal made there:

The LINE SEPARATOR (U+2028) and PARAGRAPH SEPARATOR (U+2029) characters in the plain text displayed by the page's scripts using functions such as Javascript's alert() and confirm() should break lines. PARAGRAPH SEPARATOR characters in these elements should constitute UBA paragraph breaks, while LINE SEPARATOR characters should constitute UBA whitespace, as defined by the Unicode standard.
Comment 1 Maciej Stachowiak 2010-09-29 16:06:22 UTC
Currently HTML doesn't specify anything about how the text shown in dialogs (such as via alert()). It would be odd to have only this one requirement.

If HTML does specify anything about how the text in a dialog is rendered, it would probably be best to defer to CSS.
Comment 2 Ehsan Akhgari [:ehsan] 2010-10-06 02:10:07 UTC
(In reply to comment #1)
> Currently HTML doesn't specify anything about how the text shown in dialogs
> (such as via alert()). It would be odd to have only this one requirement.

That's true, but why is it sufficient reason to exclude this from the HTML5 specification?

> If HTML does specify anything about how the text in a dialog is rendered, it
> would probably be best to defer to CSS.

I find this argument weak, as there is currently no way for CSS to affect how context in such dialogs is rendered.
Comment 3 Aharon Lanin 2010-10-06 21:18:06 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Currently HTML doesn't specify anything about how the text shown in dialogs
> > (such as via alert()). It would be odd to have only this one requirement.
> 
> That's true, but why is it sufficient reason to exclude this from the HTML5
> specification?
> 
> > If HTML does specify anything about how the text in a dialog is rendered, it
> > would probably be best to defer to CSS.
> 
> I find this argument weak, as there is currently no way for CSS to affect how
> context in such dialogs is rendered.

Also, this is not at all a good match for CSS. Bidi ordering is not just a matter of presentation. Although CSS has bidi properties like direction and unicode-bidi, these are only properly used to implement HTML mark-up (dir attribute, bdo element). For documents, the recommendation is to use HTML mark-up, not them. See <http://www.w3.org/TR/i18n-html-tech-bidi/#ri20030728.092130948>.
Comment 4 Ian 'Hixie' Hickson 2010-10-12 09:22:15 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale:

As far as I can tell this requirement makes as much sense as requiring that
characters in the string be rendered so that they are recognisably similar to
the glyphs that Unicode shows, or that text should be rendered with glyphs next
to each other rather than on top of each other.

Unicode defines the semantics of these characters. If the browsers don't honour
them, then that's a violation of Unicode's semantics. I don't see what that has
to do with HTML. Adding a requirement to follow the requirements in Unicode
doesn't make any difference to whether the requirements will be followed or
not.