<?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>13604</bug_id>
          
          <creation_ts>2007-05-06 10:47:05 -0700</creation_ts>
          <short_desc>CSS Justify/Word-spacing/table bug</short_desc>
          <delta_ts>2013-06-01 02:07:41 -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>Layout and Rendering</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://utzon.com/WK13604/index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>47141</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeppe Utzon">jeppe</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10952</commentid>
    <comment_count>0</comment_count>
    <who name="Jeppe Utzon">jeppe</who>
    <bug_when>2007-05-06 10:47:05 -0700</bug_when>
    <thetext>Stumbled upon a funky wierdness in WebKit. If I have some CSS that defines both &quot;justify&quot; and &quot;word-spacing&quot; and then put some text in a &quot;td&quot;, then it behaves as expected (in the nightly) - UNLESS the words are individually wrapped in &quot;a href&quot; tags. If that is done, then the words jump out of the &quot;td&quot; - they spill out of it on the right hand side. Not sure how good an explanation this is, but I&apos;ve included some example code that shoud make it obvious.

In the example I have a basic page with two tables - each of which have just a single &quot;td&quot; inside. In the top table I have just normal text (without any links) and it behaves as expected. In the bottom table, however, I have wrapped every word in a link and this makes the content of the &quot;td&quot; spill out of it to the right.

So basically the two tables/tds look very different from each other when they should look the same (except for the link decoration). In Firefox both tables behave as they should.

HTH... :)

/Jeppe Utzon</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10953</commentid>
    <comment_count>1</comment_count>
      <attachid>14375</attachid>
    <who name="Jeppe Utzon">jeppe</who>
    <bug_when>2007-05-06 10:49:35 -0700</bug_when>
    <thetext>Created attachment 14375
Example code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10957</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-05-06 12:13:58 -0700</bug_when>
    <thetext>Good reduction!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>575678</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-03-11 03:22:31 -0700</bug_when>
    <thetext>This doesn&apos;t look broken any more. Can you confirm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>575682</commentid>
    <comment_count>4</comment_count>
    <who name="Jeppe Utzon">jeppe</who>
    <bug_when>2012-03-11 04:41:07 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; This doesn&apos;t look broken any more. Can you confirm?

Confirmed. Works correctly now AFAICT. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>575705</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-03-11 06:44:45 -0700</bug_when>
    <thetext>We should land the test from this bug before closing I guess.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14375</attachid>
            <date>2007-05-06 10:49:35 -0700</date>
            <delta_ts>2007-05-06 10:49:35 -0700</delta_ts>
            <desc>Example code</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>1041</size>
            <attac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