<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>65615</bug_id>
          
          <creation_ts>2011-08-03 06:03:27 -0700</creation_ts>
          <short_desc>Support LINE SEPARATOR and PARAGRAPH SEPARATOR in alert(), confirm(), etc.</short_desc>
          <delta_ts>2024-05-09 12:10:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>50910</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Aharon (Vladimir) Lanin">aharon</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aharon</cc>
    
    <cc>amir.aharoni</cc>
    
    <cc>ap</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>leviw</cc>
    
    <cc>playmobil</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>445837</commentid>
    <comment_count>0</comment_count>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 06:03:27 -0700</bug_when>
    <thetext>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&apos;t (i.e. it&apos;s whitespace). Currently, they do not break the line, and may be displayed as rectangles, depending on the platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445838</commentid>
    <comment_count>1</comment_count>
      <attachid>102774</attachid>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 06:04:34 -0700</bug_when>
    <thetext>Created attachment 102774
test case for PARAGRAPH SEPARATOR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445839</commentid>
    <comment_count>2</comment_count>
      <attachid>102775</attachid>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 06:05:43 -0700</bug_when>
    <thetext>Created attachment 102775
test case for LINE SEPARATOR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445935</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-03 10:31:08 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445991</commentid>
    <comment_count>4</comment_count>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 12:09:12 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; This is most definitely not JavaScriptGlue (which is an deprecated private
&gt; framework on Mac OS X).

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

&gt; I suspect that this is likely an application issue, not a WebKit one.
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>446013</commentid>
    <comment_count>5</comment_count>
      <attachid>102811</attachid>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 12:35:27 -0700</bug_when>
    <thetext>Created attachment 102811
test case for LINE SEPARATOR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>446014</commentid>
    <comment_count>6</comment_count>
      <attachid>102812</attachid>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-08-03 12:36:10 -0700</bug_when>
    <thetext>Created attachment 102812
test case for PARAGRAPH SEPARATOR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034367</commentid>
    <comment_count>7</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2024-05-09 12:10:31 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>102774</attachid>
            <date>2011-08-03 06:04:34 -0700</date>
            <delta_ts>2011-08-03 12:36:10 -0700</delta_ts>
            <desc>test case for PARAGRAPH SEPARATOR</desc>
            <filename>alert-bidi-ps.html</filename>
            <type>text/html</type>
            <size>224</size>
            <attacher name="Aharon (Vladimir) Lanin">aharon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+DQo8aHRtbD48aGVhZD4NCjx0aXRsZT5hbGVydC1iaWRpLXBzPC90aXRs
ZT4NCjxzdHlsZT4NCjwvc3R5bGU+DQo8L2hlYWQ+PGJvZHk+DQo8c2NyaXB0Pg0KICBhbGVydCgN
CiAgICAgICcxLiBteSBmaXJzdCBuYW1lIGlzIFx1MDVEMFx1MjAyOScgKw0KICAgICAgJzIuIFx1
MDVEMSBpcyBteSBsYXN0IG5hbWUuJyk7DQo8L3NjcmlwdD4NCjwvYm9keT48L2h0bWw+DQo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>102775</attachid>
            <date>2011-08-03 06:05:43 -0700</date>
            <delta_ts>2011-08-03 12:35:27 -0700</delta_ts>
            <desc>test case for LINE SEPARATOR</desc>
            <filename>alert-bidi-ls.html</filename>
            <type>text/html</type>
            <size>224</size>
            <attacher name="Aharon (Vladimir) Lanin">aharon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+DQo8aHRtbD48aGVhZD4NCjx0aXRsZT5hbGVydC1iaWRpLWxzPC90aXRs
ZT4NCjxzdHlsZT4NCjwvc3R5bGU+DQo8L2hlYWQ+PGJvZHk+DQo8c2NyaXB0Pg0KICBhbGVydCgN
CiAgICAgICcxLiBteSBmaXJzdCBuYW1lIGlzIFx1MDVEMFx1MjAyOCcgKw0KICAgICAgJzIuIFx1
MDVEMSBpcyBteSBsYXN0IG5hbWUuJyk7DQo8L3NjcmlwdD4NCjwvYm9keT48L2h0bWw+DQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>102811</attachid>
            <date>2011-08-03 12:35:27 -0700</date>
            <delta_ts>2011-08-03 12:35:27 -0700</delta_ts>
            <desc>test case for LINE SEPARATOR</desc>
            <filename>alert-bidi-ls.html</filename>
            <type>text/html</type>
            <size>608</size>
            <attacher name="Aharon (Vladimir) Lanin">aharon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+DQo8aHRtbD48aGVhZD4NCjx0aXRsZT5hbGVydC1iaWRpLWxzPC90aXRs
ZT4NCjxzdHlsZT4NCjwvc3R5bGU+DQo8L2hlYWQ+PGJvZHk+DQo8c2NyaXB0Pg0KICBhbGVydCgN
CiAgICAgICdUaGUgdGV4dCBiZXR3ZWVuIHRoZSB0d28gbGluZXMgb2YgYXN0ZXJpc2tzICcgKw0K
ICAgICAgJ3Nob3VsZCBsb29rIGlkZW50aWNhbCB0byBhbmQgdGFrZSB0aGUgc2FtZSBudW1iZXIg
b2YgbGluZXMgYXMgJyArDQogICAgICAndGhlIHRleHQgYWZ0ZXIgdGhlIHNlY29uZCBsaW5lIG9m
IGFzdGVyaXNrcy5cbicgKw0KICAgICAgJyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKlxuJyArDQogICAgICAnMS4gbXkgZmlyc3QgbmFtZSBpcyBcdTA1RDAuXHUyMDI4JyArDQog
ICAgICAnMi4gXHUwNUQxIGlzIG15IGxhc3QgbmFtZS5cbicgKw0KICAgICAgJyoqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKlxuJyArDQogICAgICAnMS4gbXkgZmlyc3QgbmFtZSBp
cyBcdTA1RDAuXHUyMDBGXG4nICsNCiAgICAgICdcdTIwMEYyLiBcdTA1RDEgaXMgbXkgbGFzdCBu
YW1lLlxuJyk7DQo8L3NjcmlwdD4NCjwvYm9keT48L2h0bWw+DQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>102812</attachid>
            <date>2011-08-03 12:36:10 -0700</date>
            <delta_ts>2011-08-03 12:36:10 -0700</delta_ts>
            <desc>test case for PARAGRAPH SEPARATOR</desc>
            <filename>alert-bidi-ps.html</filename>
            <type>text/html</type>
            <size>608</size>
            <attacher name="Aharon (Vladimir) Lanin">aharon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+DQo8aHRtbD48aGVhZD4NCjx0aXRsZT5hbGVydC1iaWRpLXBzPC90aXRs
ZT4NCjxzdHlsZT4NCjwvc3R5bGU+DQo8L2hlYWQ+PGJvZHk+DQo8c2NyaXB0Pg0KICBhbGVydCgN
CiAgICAgICdUaGUgdGV4dCBiZXR3ZWVuIHRoZSB0d28gbGluZXMgb2YgYXN0ZXJpc2tzICcgKw0K
ICAgICAgJ3Nob3VsZCBsb29rIGlkZW50aWNhbCB0byBhbmQgdGFrZSB0aGUgc2FtZSBudW1iZXIg
b2YgbGluZXMgYXMgJyArDQogICAgICAndGhlIHRleHQgYWZ0ZXIgdGhlIHNlY29uZCBsaW5lIG9m
IGFzdGVyaXNrcy5cbicgKw0KICAgICAgJyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKlxuJyArDQogICAgICAnMS4gbXkgZmlyc3QgbmFtZSBpcyBcdTA1RDAuXHUyMDI5JyArDQog
ICAgICAnMi4gXHUwNUQxIGlzIG15IGxhc3QgbmFtZS5cbicgKw0KICAgICAgJyoqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKlxuJyArDQogICAgICAnMS4gbXkgZmlyc3QgbmFtZSBp
cyBcdTA1RDAuXHUyMDBFXG4nICsNCiAgICAgICdcdTIwMEUyLiBcdTA1RDEgaXMgbXkgbGFzdCBu
YW1lLlxuJyk7DQo8L3NjcmlwdD4NCjwvYm9keT48L2h0bWw+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>