<?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>11630</bug_id>
          
          <creation_ts>2006-11-17 06:29:58 -0800</creation_ts>
          <short_desc>REGRESSION (r17068): Layout goes completely wrong</short_desc>
          <delta_ts>2006-11-21 14:19:05 -0800</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>420+</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://abadacapoeira.de</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Engelmeier">te-web</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45613</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Engelmeier">te-web</who>
    <bug_when>2006-11-17 06:29:58 -0800</bug_when>
    <thetext>The content DIV is rendered far too wide. 

The rendering is a regression compared to the shipping Safari variant, and works in Opera, Firefox, and Windows IE6 and 7.
Sorry, I am not enough a Webdesigner to strip it down, but the CSS &amp; structure is already as easy as possible.
The only &quot;formal&quot; bug is that the Webserver supplies the html as &quot;ISO-Latin-xxxx&quot; but the xhtml states UTF-8 encoding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45615</commentid>
    <comment_count>1</comment_count>
      <attachid>11551</attachid>
    <who name="">mitz</who>
    <bug_when>2006-11-17 07:16:07 -0800</bug_when>
    <thetext>Created attachment 11551
Reduction

Opera agrees with TOT. Results are the same in strict mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45616</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-11-17 07:29:22 -0800</bug_when>
    <thetext>The regression was in r17068 (fix for bug 9347). Based on the description of that bug, I think the new result is correct (making this bug invalid).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44938</commentid>
    <comment_count>3</comment_count>
      <attachid>11590</attachid>
    <who name="">mitz</who>
    <bug_when>2006-11-20 14:06:20 -0800</bug_when>
    <thetext>Created attachment 11590
Text-transform eating up non-breaking space reduction

&quot;Completely wrong&quot; in the bug summary may refer to the popup being on the right of the menu instead of under it. In that case, this is because of a text-transform: capitalize regression demonstrated here. In shipping Safari, Firefox and Opera, there&apos;s a space between the two 100x100 squares due to the text which includes non-breaking spaces. This is also the case in TOT if text-transform:capitalize is not specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44939</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-11-20 14:24:54 -0800</bug_when>
    <thetext>From StringImpl::capitalize:
        // Replace &amp;nbsp with a real space since ICU no longer treats &amp;nbsp as a word separator.

This was added in r13702 to address &lt;rdar://problem/4502311&gt; text-transform:capitalize needs to 
treat nbsp as a regular space when ICU changes.

I think the solution might be as simple as copying from m_data[i - 1] instead of stringWithPrevious[i] in the loop that copies the non-capitalized characters.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44942</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Engelmeier">te-web</who>
    <bug_when>2006-11-20 15:49:10 -0800</bug_when>
    <thetext>Actually I meant the first reduction which - after reading a bunch of the CSS 2.1 spec - seems to be rendered correct - the second problem I considered more an cosemtic side-effect.

Seriously, I did not expect for &quot;absolute&quot; positioning the viewport and not the (html or body) parent objects are to consider for positioning. 

Thanks for the promt response and reductions. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44815</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-11-21 14:19:05 -0800</bug_when>
    <thetext>Closing this bug as invalid. Opened bug 11671 to track the text-transform: capitalize issue. Sorry for the mess.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11551</attachid>
            <date>2006-11-17 07:16:07 -0800</date>
            <delta_ts>2006-11-17 07:16:07 -0800</delta_ts>
            <desc>Reduction</desc>
            <filename>html width.html</filename>
            <type>text/html</type>
            <size>256</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PGh0bWwgc3R5bGU9IndpZHRoOiAxMDBweDsiPgogICAgPGJvZHk+CiAgICAgICAgPGRpdiBzdHls
ZT0icG9zaXRpb246IGFic29sdXRlOyBsZWZ0OiAwOyB3aWR0aDogMTAwJTsgaGVpZ2h0OiAxMDBw
eDsgYmFja2dyb3VuZDogbGlnaHRibHVlOyI+CiAgICAgICAgICAgIEluIEZpcmVmb3ggYW5kIGlu
IHNoaXBwaW5nIFNhZmFyaSwgdGhpcyBpcyBhIDEwMCZ0aW1lczsxMDAgc3F1YXJlLgogICAgICAg
IDwvZGl2PgogICAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11590</attachid>
            <date>2006-11-20 14:06:20 -0800</date>
            <delta_ts>2006-11-20 14:06:20 -0800</delta_ts>
            <desc>Text-transform eating up non-breaking space reduction</desc>
            <filename>capoeira.html</filename>
            <type>text/html</type>
            <size>179</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PHN0eWxlPgogICAgZGl2IGRpdiB7IHdpZHRoOiAxMDBweDsgaGVpZ2h0OiAxMDBweDsgYmFja2dy
b3VuZDogbGlnaHRibHVlOyB9Cjwvc3R5bGU+CjxkaXYgc3R5bGU9InRleHQtdHJhbnNmb3JtOiBj
YXBpdGFsaXplOyI+Cgk8ZGl2PjwvZGl2PiZuYnNwOyAgJm5ic3A7ICZuYnNwOzxkaXY+PC9kaXY+
CjwvZGl2Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>