<?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>43917</bug_id>
          
          <creation_ts>2010-08-12 08:04:01 -0700</creation_ts>
          <short_desc>CSS3 &apos;word-break: keep-all&apos; is not supported</short_desc>
          <delta_ts>2022-07-11 17:22:26 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nobody">me</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>igor.oliveira</cc>
    
    <cc>joone</cc>
    
    <cc>ktf.kim</cc>
    
    <cc>me</cc>
    
    <cc>mitz</cc>
    
    <cc>m_kato</cc>
    
    <cc>shezbaig.wk</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263814</commentid>
    <comment_count>0</comment_count>
    <who name="Nobody">me</who>
    <bug_when>2010-08-12 08:04:01 -0700</bug_when>
    <thetext>The &apos;word-break&apos; property supports 5 values, as declared in CSS3 Working Draft 6.
http://www.w3.org/TR/css3-text/#word-break
The &apos;word-break&apos; property is crucial in order for wrapping Asian text properly.

However, the latest Webkit engine fails to recognize some of &apos;word-break&apos; property&apos;s values, for instance the &apos;keep-all&apos; value.
It is apparent as it can be viewed on the inspector, that Webkit fixes unsupported values into &apos;normal&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264229</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-08-13 00:53:54 -0700</bug_when>
    <thetext>Do you have an example of a site that breaks, and/or a simple test case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264569</commentid>
    <comment_count>2</comment_count>
      <attachid>64393</attachid>
    <who name="Nobody">me</who>
    <bug_when>2010-08-13 18:12:32 -0700</bug_when>
    <thetext>Created attachment 64393
Test Page

A test page on word-break: keep-all;
XHTML validated and ready to go.
The first paragraph contains Korean letters(Hangul), one of the Asian text that word-break was targeted for.
If a Korean font is installed, it&apos;ll be noticed that currently Korean text breaks anywhere between letters.

There&apos;s also a identical copy of this file on http://juneoh.net/word-break.html for viewing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265065</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-08-16 06:32:53 -0700</bug_when>
    <thetext>Confirmed with r65392 on Mac OS X.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>335020</commentid>
    <comment_count>4</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2011-01-16 01:52:50 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; The &apos;word-break&apos; property supports 5 values, as declared in CSS3 Working Draft 6.
&gt; http://www.w3.org/TR/css3-text/#word-break
&gt; The &apos;word-break&apos; property is crucial in order for wrapping Asian text properly.
&gt; 
&gt; However, the latest Webkit engine fails to recognize some of &apos;word-break&apos; property&apos;s values, for instance the &apos;keep-all&apos; value.
&gt; It is apparent as it can be viewed on the inspector, that Webkit fixes unsupported values into &apos;normal&apos;.

Do you mean &apos;line-break&apos; not &apos;word-break&apos;? According to the CSS3 spec., the &apos;work-break&apos; property has just 3 values such as &apos;normal&apos;, &apos;break-all&apos;, and &apos;hyphenate&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>335673</commentid>
    <comment_count>5</comment_count>
    <who name="Nobody">me</who>
    <bug_when>2011-01-17 23:19:58 -0800</bug_when>
    <thetext>Dear Joone Hur, this issue was filed when the previous Working Draft of CSS3(http://www.w3.org/TR/2007/WD-css3-text-20070306/) was active. I see now that the latest version of the draft has removed the value keep-all from the word-break property and passed it on to line-break. I do not know if the problem recurs with the same value on line-break property, so I would appreciate if someone could reconfirm the issue in regard to this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>461059</commentid>
    <comment_count>6</comment_count>
      <attachid>106097</attachid>
    <who name="Alex Shinn">ashinn</who>
    <bug_when>2011-09-01 23:19:17 -0700</bug_when>
    <thetext>Created attachment 106097
word-break test case

In the current working draft &apos;keep-all&apos; is a property of &apos;word-break&apos;.  This is also relevant to non-Asian text.  Attached is a simpler test case, where webkit splits between the minus sign and the number with both the normal and keep settings, whereas Firefox never introduces a break there.

This relates to bug 20677.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968197</commentid>
    <comment_count>7</comment_count>
    <who name="KyungTae Kim">ktf.kim</who>
    <bug_when>2014-01-15 00:10:18 -0800</bug_when>
    <thetext>I added a patch for this on bug 123782</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882290</commentid>
    <comment_count>8</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-11 17:22:26 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox show the same rendering behavior for this test case. I do not believe any further compatibility issue remains.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>64393</attachid>
            <date>2010-08-13 18:12:32 -0700</date>
            <delta_ts>2010-08-13 18:12:32 -0700</delta_ts>
            <desc>Test Page</desc>
            <filename>word-break.html</filename>
            <type>application/xhtml+xml</type>
            <size>1190</size>
            <attacher name="Nobody">me</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPiANCjxodG1sIGxhbmc9ImtvIiB4bWw6bGFuZz0ia28iIHhtbG5zPSJodHRwOi8vd3d3
LnczLm9yZy8xOTk5L3hodG1sIj4gDQo8aGVhZD4gDQoJPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVu
dC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9VVRGLTgiIC8+DQoJPG1ldGEgaHR0
cC1lcXVpdj0iaW1hZ2V0b29sYmFyIiBjb250ZW50PSJubyIgLz4NCgk8dGl0bGU+V29yZC1CcmVh
ayBUZXN0IFBhZ2U8L3RpdGxlPg0KCTxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJCWJvZHkgeyBi
YWNrZ3JvdW5kLWNvbG9yOiBibGFjazsgfQ0KCQkud29yZC1icmVhayB7IHdpZHRoOiAyMGVtOyBt
YXJnaW46IGF1dG87IGJhY2tncm91bmQtY29sb3I6IHdoaXRlOyB3b3JkLWJyZWFrOiBrZWVwLWFs
bDsgfTsNCgk8L3N0eWxlPg0KPC9oZWFkPg0KPGJvZHk+IA0KCTxwIGNsYXNzPSJ3b3JkLWJyZWFr
Ij4NCgkJ6rCA64KY64uk6528IOqwgOuCmOuLpOudvCDqsIDrgpjri6Trnbwg6rCA64KY64uk6528
IOqwgOuCmOuLpOudvCDqsIDrgpjri6Trnbwg6rCA64KY64uk6528IOqwgOuCmOuLpOudvCDqsIDr
gpjri6Trnbwg6rCA64KY64uk6528IOqwgOuCmOuLpOudvCDqsIDrgpjri6Trnbwg6rCA64KY64uk
6528IOqwgOuCmOuLpOudvCDqsIDrgpjri6Trnbwg6rCA64KY64uk6528IOqwgOuCmOuLpOudvCDq
sIDrgpjri6Trnbwg6rCA64KY64uk6528IOqwgOuCmOuLpOudvCDqsIDrgpjri6Trnbwg6rCA64KY
64uk6528IOqwgOuCmOuLpOudvA0KCTwvcD4NCgk8cCBjbGFzcz0id29yZC1icmVhayI+DQoJCWFi
Y2RlZmdoaWprbG1ub3AgYWJjZGVmZ2hpamtsbW5vcCBhYmNkZWZnaGlqa2xtbm9wIGFiY2RlZmdo
aWprbG1ub3AgYWJjZGVmZ2hpamtsbW5vcCBhYmNkZWZnaGlqa2xtbm9wIGFiY2RlZmdoaWprbG1u
b3AgYWJjZGVmZ2hpamtsbW5vcCBhYmNkZWZnaGlqa2xtbm9wIGFiY2RlZmdoaWprbG1ub3AgYWJj
ZGVmZ2hpamtsbW5vcCBhYmNkZWZnaGlqa2xtbm9wIGFiY2RlZmdoaWprbG1ub3AgYWJjZGVmZ2hp
amtsbW5vcCBhYmNkZWZnaGlqa2xtbm9wDQoJPC9wPg0KPC9ib2R5PiANCjwvaHRtbD4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>106097</attachid>
            <date>2011-09-01 23:19:17 -0700</date>
            <delta_ts>2011-09-01 23:19:17 -0700</delta_ts>
            <desc>word-break test case</desc>
            <filename>word-break.html</filename>
            <type>text/html</type>
            <size>829</size>
            <attacher name="Alex Shinn">ashinn</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+CjxoZWFk
PgogIDxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBj
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