<?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>13654</bug_id>
          
          <creation_ts>2007-05-10 04:37:03 -0700</creation_ts>
          <short_desc>REGRESSION: Fieldset stretches too much because minwidth is wrong.</short_desc>
          <delta_ts>2007-05-10 05:30:19 -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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10564</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 04:37:03 -0700</bug_when>
    <thetext>In the attached test case, the fieldset has a minwidth that is bigger than other browsers.  Clear whitespace breaking opportunities exist, and yet they are somehow not being factored into the minwidth.

This is a regression caused by

http://bugs.webkit.org/show_bug.cgi?id=8438

although I think it just exposed a min width bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10565</commentid>
    <comment_count>1</comment_count>
      <attachid>14457</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 04:37:52 -0700</bug_when>
    <thetext>Created attachment 14457
Reduction

Reduction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10566</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 04:38:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/5146757&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10575</commentid>
    <comment_count>3</comment_count>
      <attachid>14459</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 05:08:28 -0700</bug_when>
    <thetext>Created attachment 14459
This fixes it.

Any text run that gets thoroughly ignored but that contains only stripped out whitespace will have beginWS and endWS set to true.  Combine that with autoWrap and you know when a break opportunity exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10577</commentid>
    <comment_count>4</comment_count>
      <attachid>14460</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 05:20:43 -0700</bug_when>
    <thetext>Created attachment 14460
Better patch.

After conversation with mitz on IRC, new patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10578</commentid>
    <comment_count>5</comment_count>
      <attachid>14460</attachid>
    <who name="">mitz</who>
    <bug_when>2007-05-10 05:22:01 -0700</bug_when>
    <thetext>Comment on attachment 14460
Better patch.

r=me. fix indentation of the first &apos;if&apos;!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10581</commentid>
    <comment_count>6</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-10 05:30:19 -0700</bug_when>
    <thetext>Fixed in r21365.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14457</attachid>
            <date>2007-05-10 04:37:52 -0700</date>
            <delta_ts>2007-05-10 04:37:52 -0700</delta_ts>
            <desc>Reduction</desc>
            <filename>fieldset-width.html</filename>
            <type>text/html</type>
            <size>1509</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">PGh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cHMvQWxleGFuZGVyc19FbXBpcmUuUy5qcGci
IHJlbD0ibGlnaHRib3giIHRpdGxlPSJBbGV4YW5kZXIncyBFbXBpcmUgTWFwIj48aW1nIHNyYz0i
bWFwcy9BbGV4YW5kZXJzX0VtcGlyZS50aHVtYi5wbmciIHdpZHRoPSI1MCIgaGVpZ2h0PSIzNCIg
YWx0PSJBbGV4YW5kZXIncyBFbXBpcmUiIHRpdGxlPSJBbGV4YW5kZXIncyBFbXBpcmUiIC8+PC9h
Pgo8aW5wdXQgdHlwZT0iY2hlY2tib3giIG5hbWU9Im1hcFtdIiBpZD0ibWFwX0FsZXhhbmRlcnNf
RW1waXJlIiB2YWx1ZT0iQWxleGFuZGVyJ3MgRW1waXJlIiAgLz48bGFiZWwgZm9yPSJtYXBfQWxl
eGFuZGVyc19FbXBpcmUiPkFsZXhhbmRlcidzIEVtcGlyZTwvbGFiZWw+CjwvZGl2PjwvZGl2Pgo8
ZGl2PjxkaXY+CjxhIGhyZWY9Im1hcHMvQW5jaWVudF9HcmVlY2UuUy5qcGciIHJlbD0ibGlnaHRi
b3giIHRpdGxlPSJBbmNpZW50IEdyZWVjZSBNYXAiPjxpbWcgc3JjPSJtYXBzL0FuY2llbnRfR3Jl
ZWNlLnRodW1iLnBuZyIgd2lkdGg9IjUwIiBoZWlnaHQ9IjM0IiBhbHQ9IkFuY2llbnQgR3JlZWNl
IiB0aXRsZT0iQW5jaWVudCBHcmVlY2UiIC8+PC9hPgo8aW5wdXQgdHlwZT0iY2hlY2tib3giIG5h
bWU9Im1hcFtdIiBpZD0ibWFwX0FuY2llbnRfR3JlZWNlIiB2YWx1ZT0iQW5jaWVudCBHcmVlY2Ui
ICAvPjxsYWJlbCBmb3I9Im1hcF9BbmNpZW50X0dyZWVjZSI+QW5jaWVudCBHcmVlY2U8L2xhYmVs
Pgo8L2Rpdj48L2Rpdj4KPC9maWVsZHNldD4K
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>14459</attachid>
            <date>2007-05-10 05:08:28 -0700</date>
            <delta_ts>2007-05-10 05:20:43 -0700</delta_ts>
            <desc>This fixes it.</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1068</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IHJlbmRlcmluZy9SZW5kZXJCbG9jay5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gcmVuZGVyaW5n
L1JlbmRlckJsb2NrLmNwcAkocmV2aXNpb24gMjEzNjMpCisrKyByZW5kZXJpbmcvUmVuZGVyQmxv
Y2suY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zNjMyLDkgKzM2MzIsMTQgQEAKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNCcmVha2FibGVDaGFyLCBoYXNCcmVhaywgYmVn
aW5NYXgsIGVuZE1heCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjaGls
ZE1pbiwgY2hpbGRNYXgsIHN0cmlwRnJvbnRTcGFjZXMpOwogCi0gICAgICAgICAgICAgICAgLy8g
VGhpcyB0ZXh0IG9iamVjdCBpcyBpbnNpZ25pZmljYW50IGFuZCB3aWxsIG5vdCBiZSByZW5kZXJl
ZC4gIEp1c3QKLSAgICAgICAgICAgICAgICAvLyBjb250aW51ZS4KLSAgICAgICAgICAgICAgICBp
ZiAoIWhhc0JyZWFrICYmIGNoaWxkTWF4ID09IDApIGNvbnRpbnVlOworICAgICAgICAgICAgICAg
IC8vIFRoaXMgdGV4dCBvYmplY3Qgd2lsbCBub3QgYmUgcmVuZGVyZWQsIGJ1dCBpdCBtYXkgc3Rp
bGwgcHJvdmlkZSBhIGJyZWFraW5nIG9wcG9ydHVuaXR5LgorICAgICAgICAgICAgICAgICBpZiAo
IWhhc0JyZWFrICYmIGNoaWxkTWF4ID09IDApIHsKKyAgICAgICAgICAgICAgICAgICAgaWYgKGF1
dG9XcmFwICYmIGJlZ2luV1MgJiYgZW5kV1MpIHsKKyAgICAgICAgICAgICAgICAgICAgICAgIG1f
bWluUHJlZldpZHRoID0gbWF4KGlubGluZU1pbiwgbV9taW5QcmVmV2lkdGgpOworICAgICAgICAg
ICAgICAgICAgICAgICAgaW5saW5lTWluID0gMDsKKyAgICAgICAgICAgICAgICAgICAgICAgIGNv
bnRpbnVlOworICAgICAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfQogICAgICAg
ICAgICAgICAgIAogICAgICAgICAgICAgICAgIGlmIChzdHJpcEZyb250U3BhY2VzKQogICAgICAg
ICAgICAgICAgICAgICB0cmFpbGluZ1NwYWNlQ2hpbGQgPSBjaGlsZDsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>14460</attachid>
            <date>2007-05-10 05:20:43 -0700</date>
            <delta_ts>2007-05-10 05:22:01 -0700</delta_ts>
            <desc>Better patch.</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1066</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IHJlbmRlcmluZy9SZW5kZXJCbG9jay5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gcmVuZGVyaW5n
L1JlbmRlckJsb2NrLmNwcAkocmV2aXNpb24gMjEzNjMpCisrKyByZW5kZXJpbmcvUmVuZGVyQmxv
Y2suY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zNjMyLDkgKzM2MzIsMTQgQEAKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNCcmVha2FibGVDaGFyLCBoYXNCcmVhaywgYmVn
aW5NYXgsIGVuZE1heCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjaGls
ZE1pbiwgY2hpbGRNYXgsIHN0cmlwRnJvbnRTcGFjZXMpOwogCi0gICAgICAgICAgICAgICAgLy8g
VGhpcyB0ZXh0IG9iamVjdCBpcyBpbnNpZ25pZmljYW50IGFuZCB3aWxsIG5vdCBiZSByZW5kZXJl
ZC4gIEp1c3QKLSAgICAgICAgICAgICAgICAvLyBjb250aW51ZS4KLSAgICAgICAgICAgICAgICBp
ZiAoIWhhc0JyZWFrICYmIGNoaWxkTWF4ID09IDApIGNvbnRpbnVlOworICAgICAgICAgICAgICAg
IC8vIFRoaXMgdGV4dCBvYmplY3Qgd2lsbCBub3QgYmUgcmVuZGVyZWQsIGJ1dCBpdCBtYXkgc3Rp
bGwgcHJvdmlkZSBhIGJyZWFraW5nIG9wcG9ydHVuaXR5LgorICAgICAgICAgICAgICAgICBpZiAo
IWhhc0JyZWFrICYmIGNoaWxkTWF4ID09IDApIHsKKyAgICAgICAgICAgICAgICAgICAgaWYgKGF1
dG9XcmFwICYmIChiZWdpbldTIHx8IGVuZFdTKSkgeworICAgICAgICAgICAgICAgICAgICAgICAg
bV9taW5QcmVmV2lkdGggPSBtYXgoaW5saW5lTWluLCBtX21pblByZWZXaWR0aCk7CisgICAgICAg
ICAgICAgICAgICAgICAgICBpbmxpbmVNaW4gPSAwOworICAgICAgICAgICAgICAgICAgICB9Cisg
ICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlOworICAgICAgICAgICAgICAgIH0KICAgICAgICAg
ICAgICAgICAKICAgICAgICAgICAgICAgICBpZiAoc3RyaXBGcm9udFNwYWNlcykKICAgICAgICAg
ICAgICAgICAgICAgdHJhaWxpbmdTcGFjZUNoaWxkID0gY2hpbGQ7Cg==
</data>
<flag name="review"
          id="5900"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>