<?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>83934</bug_id>
          
          <creation_ts>2012-04-13 12:56:12 -0700</creation_ts>
          <short_desc>No line break opportunity between a slash and a latin character, in contradiction to the Unicode standard</short_desc>
          <delta_ts>2025-04-17 00:07:35 -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>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=197430</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>181169</dependson>
    
    <dependson>195345</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jfernandez</cc>
    
    <cc>karlcow</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>602335</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-04-13 12:56:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/11246877&gt;

WebKit doesn’t recognize a line breaking opportunity between a slash and a latin character (e.g. after the slash in “before/after”), but the Unicode standard, specifically UAX #14, says that there is a line break opportunity there (see &lt;http://www.unicode.org/reports/tr14/#SY&gt;). The Unicode behavior allows long URLs to wrap better.

See also bug 37698.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>602365</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-13 13:36:38 -0700</bug_when>
    <thetext>Mitz also mentioned to me that a potential downside is that we&apos;ll wrap strings like &quot;km/h&quot;, which can be particularly bad in table titles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531526</commentid>
    <comment_count>2</comment_count>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2019-04-30 08:33:32 -0700</bug_when>
    <thetext>I think this bug could be solved once we implement line-break; anywhere and overflow-wrap: anywhere</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531644</commentid>
    <comment_count>3</comment_count>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2019-04-30 12:54:43 -0700</bug_when>
    <thetext>As a matter of fact, I&apos;m not sure whether this bug should be marked as FIXED. There are indeed breaking opportunities between a slash and a latin character by using the &apos;word-break: break-all&apos; feature. 

Attached a test case and the rendering result using trunk (r244730)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531645</commentid>
    <comment_count>4</comment_count>
      <attachid>368590</attachid>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2019-04-30 12:56:50 -0700</bug_when>
    <thetext>Created attachment 368590
Test case to reproduce the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531646</commentid>
    <comment_count>5</comment_count>
      <attachid>368591</attachid>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2019-04-30 12:58:16 -0700</bug_when>
    <thetext>Created attachment 368591
Actual result</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>368590</attachid>
            <date>2019-04-30 12:56:50 -0700</date>
            <delta_ts>2019-04-30 12:56:50 -0700</delta_ts>
            <desc>Test case to reproduce the issue</desc>
            <filename>test-case.html</filename>
            <type>text/html</type>
            <size>158</size>
            <attacher name="Javier Fernandez">jfernandez</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxzdHlsZT4KZGl2IHsKICBmb250OiAyMHB4LzEgTW9ub3NwYWNlOwog
IHdpZHRoOiAzY2g7CgogIHdvcmQtYnJlYWs6IGJyZWFrLWFsbDsKCiAgYm9yZGVyOiAxcHggc29s
aWQ7Cn0KPC9zdHlsZT4KPGRpdiBjbGFzcz0idGVzdCI+WFgvWDwvZGl2Pgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>368591</attachid>
            <date>2019-04-30 12:58:16 -0700</date>
            <delta_ts>2019-04-30 12:58:16 -0700</delta_ts>
            <desc>Actual result</desc>
            <filename>result.png</filename>
            <type>image/png</type>
            <size>1090</size>
            <attacher name="Javier Fernandez">jfernandez</attacher>
            
              <data encoding="base64">iVBORw0KGgoAAAANSUhEUgAAADEAAAA5CAYAAACfz8NxAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wQeEzkq0h0cpQAAAB1pVFh0Q29tbWVudAAAAAAAQ3Jl
YXRlZCB3aXRoIEdJTVBkLmUHAAADpklEQVRo3u2a6U9TWRjGfy20FaIxI64gOmKiU4NxSdSo0cQl
TqalVlIKdRhwVxIkin+An40ftFFwIxg1ora41AGKYaJiJlFHZsYElwa0ijQaFVHckLaU+sElEaHY
2xt7Jff5ePqc9P6a9z3nfdoqXr1sC/KDS0k/kAwhQ8gQ/RAitvuCTp8myQd1VlV+O0RfG6Khvj5Y
uSekDdF5n6P5RnT6Veyp9379us/F/nUGdIYNlLp84ftDKoCrZC06/e/srPNGABE7jqxNJpKVLTj3
HOdu55dv4rYXU/FIwehlm8nRqsP3h9KrS5yofowyxUjmDE1k5aSaYGHT0iSCHgdFDg9dH9e7Hp5l
98kmSDJQ+IcWtUB/zwridpykzhvPPIuBpMh7Qs2k3AJ0IwI0HtvLuRaAFpxFZTQGEkkvXIFWE4m/
B7VfwVbRDMlp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