Bug 65615 - Support LINE SEPARATOR and PARAGRAPH SEPARATOR in alert(), confirm(), etc.
Summary: Support LINE SEPARATOR and PARAGRAPH SEPARATOR in alert(), confirm(), etc.
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 50910
  Show dependency treegraph
 
Reported: 2011-08-03 06:03 PDT by Aharon (Vladimir) Lanin
Modified: 2024-05-09 12:10 PDT (History)
7 users (show)

See Also:


Attachments
test case for PARAGRAPH SEPARATOR (224 bytes, text/html)
2011-08-03 06:04 PDT, Aharon (Vladimir) Lanin
no flags Details
test case for LINE SEPARATOR (224 bytes, text/html)
2011-08-03 06:05 PDT, Aharon (Vladimir) Lanin
no flags Details
test case for LINE SEPARATOR (608 bytes, text/html)
2011-08-03 12:35 PDT, Aharon (Vladimir) Lanin
no flags Details
test case for PARAGRAPH SEPARATOR (608 bytes, text/html)
2011-08-03 12:36 PDT, Aharon (Vladimir) Lanin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aharon (Vladimir) Lanin 2011-08-03 06:03:27 PDT
According to Unicode semantics, these should serve as line breaks. The difference between them is that PARAGRAPH SEPARATOR (like LF) serves as a bidi paragraph separator for the Unicode Bidi Algorithm, and LINE SEPARATOR doesn't (i.e. it's whitespace). Currently, they do not break the line, and may be displayed as rectangles, depending on the platform.
Comment 1 Aharon (Vladimir) Lanin 2011-08-03 06:04:34 PDT
Created attachment 102774 [details]
test case for PARAGRAPH SEPARATOR
Comment 2 Aharon (Vladimir) Lanin 2011-08-03 06:05:43 PDT
Created attachment 102775 [details]
test case for LINE SEPARATOR
Comment 3 Alexey Proskuryakov 2011-08-03 10:31:08 PDT
This is most definitely not JavaScriptGlue (which is an deprecated private framework on Mac OS X). I suspect that this is likely an application issue, not a WebKit one.

I cannot reproduce this in Safari 5.1 on Mac OS X.
Comment 4 Aharon (Vladimir) Lanin 2011-08-03 12:09:12 PDT
(In reply to comment #3)
> This is most definitely not JavaScriptGlue (which is an deprecated private
> framework on Mac OS X).

I had to pick a component, and took a wild guess for lack of a better choice.

> I suspect that this is likely an application issue, not a WebKit one.
> 
> I cannot reproduce this in Safari 5.1 on Mac OS X.

Reproduces in slightly different ways on Chrome for Windows 15.0.841.0 canary and Safari for Windows 5.1. I am about to update the test cases to make it clearer what constitutes passing and failing.
Comment 5 Aharon (Vladimir) Lanin 2011-08-03 12:35:27 PDT
Created attachment 102811 [details]
test case for LINE SEPARATOR
Comment 6 Aharon (Vladimir) Lanin 2011-08-03 12:36:10 PDT
Created attachment 102812 [details]
test case for PARAGRAPH SEPARATOR
Comment 7 fantasai 2024-05-09 12:10:31 PDT
AFAICT this has been fixed, but it would be good to incorporate into a test suite somewhere. These tests are particularly nice because they exercise the bidi implications, not just line-breaking.