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, fantasai.bugs, 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

Aharon (Vladimir) Lanin
Reported 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.
Attachments
test case for PARAGRAPH SEPARATOR (224 bytes, text/html)
2011-08-03 06:04 PDT, Aharon (Vladimir) Lanin
no flags
test case for LINE SEPARATOR (224 bytes, text/html)
2011-08-03 06:05 PDT, Aharon (Vladimir) Lanin
no flags
test case for LINE SEPARATOR (608 bytes, text/html)
2011-08-03 12:35 PDT, Aharon (Vladimir) Lanin
no flags
test case for PARAGRAPH SEPARATOR (608 bytes, text/html)
2011-08-03 12:36 PDT, Aharon (Vladimir) Lanin
no flags
Aharon (Vladimir) Lanin
Comment 1 2011-08-03 06:04:34 PDT
Created attachment 102774 [details] test case for PARAGRAPH SEPARATOR
Aharon (Vladimir) Lanin
Comment 2 2011-08-03 06:05:43 PDT
Created attachment 102775 [details] test case for LINE SEPARATOR
Alexey Proskuryakov
Comment 3 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.
Aharon (Vladimir) Lanin
Comment 4 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.
Aharon (Vladimir) Lanin
Comment 5 2011-08-03 12:35:27 PDT
Created attachment 102811 [details] test case for LINE SEPARATOR
Aharon (Vladimir) Lanin
Comment 6 2011-08-03 12:36:10 PDT
Created attachment 102812 [details] test case for PARAGRAPH SEPARATOR
fantasai
Comment 7 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.
Note You need to log in before you can comment on or make changes to this bug.