<?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>137016</bug_id>
          
          <creation_ts>2014-09-22 17:32:32 -0700</creation_ts>
          <short_desc>{text-align:justify} bug - wrong changes space between words or characters</short_desc>
          <delta_ts>2014-10-06 02:57:54 -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>525.x (Safari 3.2)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>137327</dup_id>
          
          <bug_file_loc>http://jsfiddle.net/JooobyPM/sp0dkbme/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Marakhovski">pm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>pm</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1036627</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-09-22 17:32:32 -0700</bug_when>
    <thetext>Two same element with css {text-align:justify}:
&lt;div&gt;Lorem ipsum dolor sit amet, consectetur adipiscing&lt;/div&gt;
&lt;div&gt;Lorem ipsum dolor &lt;span&gt;sit amet, consectetur&lt;/span&gt; adipiscing&lt;/div&gt;
But result wrong difference in space between words or characters.
In firefox everything ok.

fiddle - http://jsfiddle.net/JooobyPM/sp0dkbme/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036629</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-09-22 17:33:22 -0700</bug_when>
    <thetext>http://stackoverflow.com/questions/25980785/webkit-and-blink-rendering-bug-text-alignjustify</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036893</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-09-23 19:38:22 -0700</bug_when>
    <thetext>This still happens with trunk, so subpixel positioning doesn&apos;t appear to have had an effect here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1038648</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-10-01 14:12:06 -0700</bug_when>
    <thetext>apparently when the leading whitespace gets included to the &lt;span&gt;, text positioning is all fine.
Lorem ipsum dolor&lt;span&gt; sit amet, consectetur&lt;/span&gt; adipiscing
instead of
Lorem ipsum dolor &lt;span&gt;sit amet, consectetur&lt;/span&gt; adipiscing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1038835</commentid>
    <comment_count>4</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-10-02 03:20:28 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; apparently when the leading whitespace gets included to the &lt;span&gt;, text positioning is all fine.
&gt; Lorem ipsum dolor&lt;span&gt; sit amet, consectetur&lt;/span&gt; adipiscing
&gt; instead of
&gt; Lorem ipsum dolor &lt;span&gt;sit amet, consectetur&lt;/span&gt; adipiscing

Text position is fine only for specific width, but if change width text position is not fine:
http://jsfiddle.net/JooobyPM/aqLkja5s/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1038871</commentid>
    <comment_count>5</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-10-02 08:52:22 -0700</bug_when>
    <thetext>See https://bugs.webkit.org/show_bug.cgi?id=137327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039336</commentid>
    <comment_count>6</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-10-03 14:13:11 -0700</bug_when>
    <thetext>In r174259 bug resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039362</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-03 14:58:39 -0700</bug_when>
    <thetext>So is this a duplicate of bug 137327?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039538</commentid>
    <comment_count>8</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-10-04 14:08:08 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; So is this a duplicate of bug 137327?

Bug 137327 was reported - [2014-10-01 17:27 PST by Myles C. Maxfield]
Bug 137016 (this one) was reported - [2014-09-22 17:32 PST by Pavel Marakhovski]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039550</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-04 16:55:48 -0700</bug_when>
    <thetext>It is indeed the case that we prefer to dupe to older bug. There are exceptions to the rule:

- when a newer bug is already fixed, or has significant discussion that would be difficult to transfer to another bug;

- or when the older bug is difficult to read or understand for some reason, so keeping it open would only delay making a fix.

Bug 137327 is already fixed. My question was essentially whether it fully resolves the issue reported here, or if there is anything left hidden under the carpet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039589</commentid>
    <comment_count>10</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-10-05 01:38:47 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; It is indeed the case that we prefer to dupe to older bug. There are exceptions to the rule:
&gt; 
&gt; - when a newer bug is already fixed, or has significant discussion that would be difficult to transfer to another bug;
&gt; 
&gt; - or when the older bug is difficult to read or understand for some reason, so keeping it open would only delay making a fix.
&gt; 
&gt; Bug 137327 is already fixed. My question was essentially whether it fully resolves the issue reported here, or if there is anything left hidden under the carpet.

This two bugs is cause and effect. I ran my examples on webkit r174259-r174324 (MacOS) and it looks like problem was solved. So I think this bug was fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039604</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-05 15:25:28 -0700</bug_when>
    <thetext>What is the reason for you to insist on marking this bug FIXED? We use this resolution for bugs that have a fix in them. Bugs with a fix are special, because the fix can break other things, the fix can be rolled out, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039689</commentid>
    <comment_count>12</comment_count>
    <who name="Pavel Marakhovski">pm</who>
    <bug_when>2014-10-06 02:57:54 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; What is the reason for you to insist on marking this bug FIXED? We use this resolution for bugs that have a fix in them. Bugs with a fix are special, because the fix can break other things, the fix can be rolled out, etc.

Seems it my mistake. If I understand right I can mark this bug DUPLICATE.  
In my humble opinion fixe on the bug 137327 fully resolves the issue reported here, and nothing left hidden under the carpet.

*** This bug has been marked as a duplicate of bug 137327 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>