<?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>114566</bug_id>
          
          <creation_ts>2013-04-13 09:29:37 -0700</creation_ts>
          <short_desc>REGRESSION (r147261): Flex box regression: min-height defaults to 0 instead of -webkit-min-content</short_desc>
          <delta_ts>2025-02-20 00:44:09 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.8</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, NeedsReduction, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>111790</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cbiesinger</cc>
    
    <cc>karlcow</cc>
    
    <cc>me</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>875174</commentid>
    <comment_count>0</comment_count>
      <attachid>197945</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2013-04-13 09:29:37 -0700</bug_when>
    <thetext>Created attachment 197945
Test case

* SUMMARY
When refreshing a web page that has an overflowing console log, graphical glitches occur in the Web Inspector on nightly.webkit.org builds.

* STEPS TO REPRODUCE
1. Load attached test case in WebKit nightly build on Mac.
2. Open the Inspector (Cmd-Opt-I).
3. Click on the console to display it.
4. Reload the web page.

* RESULTS
Text overlaps in console (see attached screenshot).

* REGRESSION
This is a regression from commit r147261 which was the fix for Bug 111790.
&lt;http://trac.webkit.org/changeset/147261&gt;

* NOTES
This works as expected in WebKit nightly build r147249.
The bug starts occurring in WebKit nightly build r147268.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875175</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2013-04-13 09:30:58 -0700</bug_when>
    <thetext>Analysis from Tim Hatcher:
&apos;&apos;&apos;
min-height is defaulting to 0 now and not -webkit-min-content. However, putting min-height: -webkit-min-content on the element does not work. It seems -webkit-min-content only works on min-width?
&apos;&apos;&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875176</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2013-04-13 09:31:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/13602668&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875212</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2013-04-13 11:51:56 -0700</bug_when>
    <thetext>Another workaround that should work is setting -webkit-flex-shrink to 0. It&apos;s a bummer to change the API this late in the game, but I think the benefits still outweigh the cost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875213</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2013-04-13 11:55:02 -0700</bug_when>
    <thetext>Also, you may want to bring in https://chromium.googlesource.com/chromium/blink/+/5214cf3a1d0d78e880688ccd451e6145b9e69267 to make -webkit-min-content work on heights.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096278</commentid>
    <comment_count>5</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-02-20 00:41:26 -0800</bug_when>
    <thetext>This attachment doesn&apos;t seem to be the right one for this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096279</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-02-20 00:44:09 -0800</bug_when>
    <thetext>Ah the attachment was demonstrating the visualization of the issue in web inspector. But this is gone now so the testcase is not meaningful anymore. I removed it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>197945</attachid>
            <date>2013-04-13 09:29:37 -0700</date>
            <delta_ts>2025-02-20 00:43:59 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>bug.html</filename>
            <type>text/html</type>
            <size>144</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxodG1sPgo8aGVhZD4KPHNjcmlwdD4KCWZvcih2YXIgaSA9IDA7IGkg
PCAxMDA7IGkrKykgewoJCWNvbnNvbGUubG9nKE1hdGgucmFuZG9tKCkpOwoJfQo8L3NjcmlwdD4K
PC9oZWFkPgo8Ym9keT4KPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>