Bug 65615

Summary: Support LINE SEPARATOR and PARAGRAPH SEPARATOR in alert(), confirm(), etc.
Product: WebKit Reporter: Aharon (Vladimir) Lanin <aharon>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: aharon, amir.aharoni, ap, leviw, playmobil, xji
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 50910    
Attachments:
Description Flags
test case for PARAGRAPH SEPARATOR
none
test case for LINE SEPARATOR
none
test case for LINE SEPARATOR
none
test case for PARAGRAPH SEPARATOR none

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