<?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>88963</bug_id>
          
          <creation_ts>2012-06-12 22:58:51 -0700</creation_ts>
          <short_desc>[Qt] New css3/flexbox/flexitem.html fails</short_desc>
          <delta_ts>2014-02-03 03:21:13 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>87008</blocked>
    
    <blocked>87068</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Tony Chang">tony</assigned_to>
          <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>647713</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-12 22:58:51 -0700</bug_when>
    <thetext>css3/flexbox/flexitem.html introduced in http://trac.webkit.org/changeset/120132 and fails on Qt:

--- /home/webkitbuildbot/slaves/release32bit-qt5/buildslave/qt-linux-32-release-qt5/build/layout-test-results/css3/flexbox/flexitem-expected.txt 
+++ /home/webkitbuildbot/slaves/release32bit-qt5/buildslave/qt-linux-32-release-qt5/build/layout-test-results/css3/flexbox/flexitem-actual.txt 
@@ -2,7 +2,24 @@
 
 object
 
-PASS
+FAIL:
+Expected 100 for width, but got 95. 
+Expected 100 for width, but got 95. 
+Expected 100 for width, but got 95. 
+Expected 100 for width, but got 95. 
+Expected 100 for width, but got 123. 
+Expected 100 for width, but got 95. 
+
+&lt;div class=&quot;flexbox&quot;&gt;
+  &lt;button data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot;&gt;button&lt;/button&gt;
+  &lt;canvas data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot;&gt;canvas&lt;/canvas&gt;
+  &lt;iframe data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot; src=&quot;data:text/html,&amp;lt;body bgcolor=#fff&amp;gt;iframe&amp;lt;/body&amp;gt;&quot;&gt;&lt;/iframe&gt;
+  &lt;object data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot;&gt;object&lt;/object&gt;
+  &lt;select data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot;&gt;
+    &lt;option&gt;select&lt;/option&gt;
+  &lt;/select&gt;
+  &lt;textarea data-expected-display=&quot;block&quot; data-expected-width=&quot;100&quot;&gt;textarea&lt;/textarea&gt;
+&lt;/div&gt;
 
 PASS
 
@@ -17,7 +34,7 @@
 
 FAIL:
 Expected 100 for height, but got 20. 
-Expected 100 for height, but got 20. 
+Expected 100 for height, but got 21. 
 
 &lt;div class=&quot;flexbox&quot;&gt;
   &lt;img data-expected-display=&quot;block&quot; data-expected-width=&quot;200&quot; style=&quot;-webkit-flex: 1 0 auto;&quot; src=&quot;../images/resources/blue-100.png&quot;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647718</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-12 23:01:56 -0700</bug_when>
    <thetext>I skipped it to paint the bot green - r120163. Please unskip it with the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648343</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-13 12:16:53 -0700</bug_when>
    <thetext>I investigated this failure.  This is because in WebKitQt, the padding on &lt;select&gt;s (MenuLists) are hard coded.  This happens in Source/WebKit/qt/WebCoreSupport/RenderThemeQStyle.cpp in RenderThemeQStyle::setPopupPadding.

The test tries to set the padding to 0, but it doesn&apos;t stick.

I think the bug is that the user can&apos;t set padding on &lt;select&gt;s.

The second failure must be the alt text being taller than 20px. I can fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648344</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-13 12:17:48 -0700</bug_when>
    <thetext>Oh, if it&apos;s intentional that setting padding on a &lt;select&gt; does nothing, then we could just rebaseline for Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648350</commentid>
    <comment_count>4</comment_count>
      <attachid>147386</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-13 12:20:51 -0700</bug_when>
    <thetext>Created attachment 147386
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649242</commentid>
    <comment_count>5</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-14 09:44:33 -0700</bug_when>
    <thetext>Committed r120330: &lt;http://trac.webkit.org/changeset/120330&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649244</commentid>
    <comment_count>6</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-14 09:46:14 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Committed r120330: &lt;http://trac.webkit.org/changeset/120330&gt;

@@ -17,7 +34,7 @@

 FAIL:
 Expected 100 for height, but got 20. 
-Expected 100 for height, but got 20. 
+Expected 100 for height, but got 21.

Should now be fixed.  I need guidance from Qt on whether it&apos;s a bug that you can&apos;t set padding on &lt;select&gt;s or if we should check in a Qt specific baseline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975477</commentid>
    <comment_count>7</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:21:13 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>147386</attachid>
            <date>2012-06-13 12:20:51 -0700</date>
            <delta_ts>2012-06-14 02:15:57 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-88963-20120613122052.patch</filename>
            <type>text/plain</type>
            <size>1299</size>
            <attacher name="Tony Chang">tony</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTIwMTM3CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggM2U0ZmJjNGM1ODkzYmZhOTQ0OTlj
MjU4YWEyZTU0OTMwZTRiZjJjZS4uMGUzZWU5Njg0NWM1ODQ1MWIxNjdlOWE3Zjk0NTg5N2QxNWJm
MzJkMCAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEyLTA2LTEzICBUb255IENoYW5nICA8dG9u
eUBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgW1F0XSBOZXcgY3NzMy9mbGV4Ym94L2ZsZXhpdGVt
Lmh0bWwgZmFpbHMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTg4OTYzCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1B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AgICBib3JkZXI6IDA7CiAgICAgcGFkZGluZzogMDsK
KyAgICBmb250LXNpemU6IDEycHg7CiB9CiA8L3N0eWxlPgogPHNjcmlwdD4K
</data>
<flag name="review"
          id="154873"
          type_id="1"
          status="+"
          setter="morrita"
    />
          </attachment>
      

    </bug>

</bugzilla>