<?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>104160</bug_id>
          
          <creation_ts>2012-12-05 13:19:56 -0800</creation_ts>
          <short_desc>[EFL][Qt][CSS Regions] fast/regions/autowidth-normalflow-maxwidth.html is failing</short_desc>
          <delta_ts>2013-01-07 23:29:11 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>57312</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yael">yael</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mihnea</cc>
    
    <cc>WebkitBugTracker</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>784052</commentid>
    <comment_count>0</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2012-12-05 13:19:56 -0800</bug_when>
    <thetext>The test fast/regions/autowidth-normalflow-maxwidth.html is failing both for EFL and Qt.
The test and the expected results don&apos;t look the same even when loaded in MiniBrowser.
It seems that the test has an expectation that the text of the test can fit in 400 pixels, but both for Qt and for EFL MiniBrowsers, the text requires more than that.
An easy fix would be to increase the height of the the region to 450 or 500 pixels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>784124</commentid>
    <comment_count>1</comment_count>
      <attachid>177832</attachid>
    <who name="Yael">yael</who>
    <bug_when>2012-12-05 14:32:48 -0800</bug_when>
    <thetext>Created attachment 177832
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>784884</commentid>
    <comment_count>2</comment_count>
      <attachid>177832</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-06 05:55:28 -0800</bug_when>
    <thetext>Comment on attachment 177832
Patch

Clearing flags on attachment: 177832

Committed r136835: &lt;http://trac.webkit.org/changeset/136835&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>784885</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-06 05:55:31 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>798642</commentid>
    <comment_count>4</comment_count>
    <who name="Mihnea Ovidenie">mihnea</who>
    <bug_when>2013-01-02 06:35:47 -0800</bug_when>
    <thetext>Hi Yael,

The purpose of the test was to check that max-width is honored in the case of a region with width: auto. The text, both in original and expected, is not supposed to fit in 400px, but rather to overflow the region and the div containing the test in expected file. In both cases, it should have shown about 10 lines of gray text (last one shorter) because neither the region nor the div containing the text have overflow:hidden.

Because of that, changing the height to 450 seems like a wrong way to fix this test. I have build QT on Linux with latest and also revision 136322 from Dec 2 and i have changed the height to 400, without noticing any diff. Would you mind telling me what revision on QT have you used to notice the difference?

Cheers,
Mihnea</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>799112</commentid>
    <comment_count>5</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2013-01-02 17:14:18 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Hi Yael,
&gt; 
&gt; The purpose of the test was to check that max-width is honored in the case of a region with width: auto. The text, both in original and expected, is not supposed to fit in 400px, but rather to overflow the region and the div containing the test in expected file. In both cases, it should have shown about 10 lines of gray text (last one shorter) because neither the region nor the div containing the text have overflow:hidden.
&gt; 
&gt; Because of that, changing the height to 450 seems like a wrong way to fix this test. I have build QT on Linux with latest and also revision 136322 from Dec 2 and i have changed the height to 400, without noticing any diff. Would you mind telling me what revision on QT have you used to notice the difference?
&gt; 
&gt; Cheers,
&gt; Mihnea


Hi Mihnea, Sorry for misunderstanding the test and also for cc&apos;ing the wrong person on this bug. If you think that the original version is the correct version of the test, please feel free to roll out.

I just tested with r137836 on Qt&apos;s MiniBrowser and if I change the 450 back to 400, in fast/regions/autowidth-normalflow-maxwidth.html, the test is failing. With 450 it does not fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>802075</commentid>
    <comment_count>6</comment_count>
    <who name="Mihnea Ovidenie">mihnea</who>
    <bug_when>2013-01-07 23:29:11 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Hi Yael,
&gt; &gt; 
&gt; &gt; The purpose of the test was to check that max-width is honored in the case of a region with width: auto. The text, both in original and expected, is not supposed to fit in 400px, but rather to overflow the region and the div containing the test in expected file. In both cases, it should have shown about 10 lines of gray text (last one shorter) because neither the region nor the div containing the text have overflow:hidden.
&gt; &gt; 
&gt; &gt; Because of that, changing the height to 450 seems like a wrong way to fix this test. I have build QT on Linux with latest and also revision 136322 from Dec 2 and i have changed the height to 400, without noticing any diff. Would you mind telling me what revision on QT have you used to notice the difference?
&gt; &gt; 
&gt; &gt; Cheers,
&gt; &gt; Mihnea
&gt; 
&gt; 
&gt; Hi Mihnea, Sorry for misunderstanding the test and also for cc&apos;ing the wrong person on this bug. If you think that the original version is the correct version of the test, please feel free to roll out.
&gt; 
&gt; I just tested with r137836 on Qt&apos;s MiniBrowser and if I change the 450 back to 400, in fast/regions/autowidth-normalflow-maxwidth.html, the test is failing. With 450 it does not fail.

Ok, now i see the failure and i need to investigate it. I was not testing with WK2.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>177832</attachid>
            <date>2012-12-05 14:32:48 -0800</date>
            <delta_ts>2012-12-06 05:55:28 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>104160.patch</filename>
            <type>text/plain</type>
            <size>4363</size>
            <attacher name="Yael">yael</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL3BsYXRmb3JtL2VmbC13azIvVGVzdEV4cGVjdGF0aW9ucwo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9wbGF0Zm9ybS9lZmwtd2syL1Rlc3RFeHBlY3RhdGlvbnMJ
KHJldmlzaW9uIDEzNjYwOCkKKysrIExheW91dFRlc3RzL3BsYXRmb3JtL2VmbC13azIvVGVzdEV4
cGVjdGF0aW9ucwkod29ya2luZyBjb3B5KQpAQCAtNTYwLDcgKzU2MCw2IEBACiB3ZWJraXQub3Jn
L2IvMTAzNDY4IGZhc3QvZG9tL3NoYWRvdy9zaGFkb3ctcmVwcm9qZWN0aW9uLWR5bmFtaWMuaHRt
bCBbIEltYWdlT25seUZhaWx1cmUgUGFzcyBdCiB3ZWJraXQub3JnL2IvMTAzNDY4IGZhc3QvZG9t
L3NoYWRvdy9zaGFkb3dkb20tZm9yLWltYWdlLWR5bmFtaWMuaHRtbCBbIEltYWdlT25seUZhaWx1
cmUgUGFzcyBdCiB3ZWJraXQub3JnL2IvMTAzNDY4IGZhc3QvZm9ybXMvY2hlY2tib3gtYXBwZWFy
YW5jZS1jaGFuZ2UtYnktY2hlY2tlZC5odG1sIFsgSW1hZ2VPbmx5RmFpbHVyZSBQYXNzIF0KLXdl
YmtpdC5vcmcvYi8xMDM0NjggZmFzdC9yZWdpb25zL2F1dG93aWR0aC1ub3JtYWxmbG93LW1heHdp
ZHRoLmh0bWwgWyBJbWFnZU9ubHlGYWlsdXJlIFBhc3MgXQogd2Via2l0Lm9yZy9iLzEwMzQ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dXRvd2lkdGgtbm9ybWFsZmxvdy1tYXh3aWR0
aC5odG1sCSh3b3JraW5nIGNvcHkpCkBAIC00LDcgKzQsNyBAQAogICAgICAgICA8c3R5bGU+CiAg
ICAgICAgICAgICBib2R5IHsgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTsgfQogICAgICAgICAgICAg
I2FydGljbGUgeyAtd2Via2l0LWZsb3ctaW50bzogZmxvdzsgZm9udC1zaXplOiAyNXB4OyBsaW5l
LWhlaWdodDogMjsgdGV4dC1hbGlnbjoganVzdGlmeTsgY29sb3I6I2EwYTBhMDsgfQotICAgICAg
ICAgICAgI3JlZ2lvbiB7IC13ZWJraXQtZmxvdy1mcm9tOiBmbG93OyBoZWlnaHQ6IDQwMHB4OyBt
YXgtd2lkdGg6IDIwMHB4OyB9CisgICAgICAgICAgICAjcmVnaW9uIHsgLXdlYmtpdC1mbG93LWZy
b206IGZsb3c7IGhlaWdodDogNDUwcHg7IG1heC13aWR0aDogMjAwcHg7IH0KICAgICAgICAgPC9z
dHlsZT4KICAgICA8L2hlYWQ+CiAgICAgPGJvZHk+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>