<?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>103453</bug_id>
          
          <creation_ts>2012-11-27 13:34:33 -0800</creation_ts>
          <short_desc>LayoutTests/fast/table/css-table-max-height.html failing on Qt Linux</short_desc>
          <delta_ts>2012-12-11 12:15:51 -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>Tables</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>87008</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Pravin D">pravind.2k4</reporter>
          <assigned_to name="Pravin D">pravind.2k4</assigned_to>
          <cc>darin</cc>
    
    <cc>hausmann</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>777174</commentid>
    <comment_count>0</comment_count>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-11-27 13:34:33 -0800</bug_when>
    <thetext>The test case LayoutTests/fast/table/css-table-max-height.html is failing on Qt linux.
Diff
http://build.webkit.org/results/Qt%20Linux%20Release/r135895%20%2854971%29/fast/table/css-table-max-height-pretty-diff.html

The test passes on other platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777202</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-11-27 14:00:34 -0800</bug_when>
    <thetext>Test disabled in http://trac.webkit.org/changeset/135917

Failures:

This sub-test checks that when content height is greater than max-height, content height is applied to the table with auto layout.
FILLER TEXT TO INCREASE CONTENT HEIGHT.
FAIL:
Expected 192 for height, but got 204. 

&lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;child&quot; style=&quot;max-height:100px;&quot; data-expected-height=&quot;192&quot;&gt;
        This sub-test checks that when content height is greater than max-height, content height is applied to the table with auto layout.
        &lt;br&gt;&lt;br&gt;FILLER TEXT TO INCREASE CONTENT HEIGHT.
    &lt;/div&gt;
&lt;/div&gt;
[snip]
This sub-test checks that when content height is greater than max-height, content height is applied to a table with fixed layout. 

FILLER TEXT TO INCREASE CONTENT HEIGHT.
FAIL:
Expected 192 for height, but got 204. 

&lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;child fixed-table&quot; style=&quot;max-height:100px;&quot; data-expected-height=&quot;192&quot;&gt;
        This sub-test checks that when content height is greater than max-height, content height is applied to a table with fixed layout.
        &lt;br&gt;&lt;br&gt;FILLER TEXT TO INCREASE CONTENT HEIGHT.
    &lt;/div&gt;
&lt;/div&gt;
This test checks that when height of a fixed table is auto, there is are no asserts. No crash means the test passed.
PASS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777606</commentid>
    <comment_count>2</comment_count>
      <attachid>176420</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-11-28 00:59:02 -0800</bug_when>
    <thetext>Created attachment 176420
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777611</commentid>
    <comment_count>3</comment_count>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-11-28 01:05:24 -0800</bug_when>
    <thetext>Patch
https://bugs.webkit.org/attachment.cgi?id=176420

The default line-height used by Qt-linux is different from the other platforms. This was causing the height of the sub-test cases to be different from expected value.

Have also fixed the font-size value, to be on a safer side.

@Julien: thanks for the hunch :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777643</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-11-28 01:52:04 -0800</bug_when>
    <thetext>Julien, can you review this patch? It looks sane to me, but I don&apos;t feel comfortable messing with the table tests that I don&apos;t know at all :)

Thanks :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778032</commentid>
    <comment_count>5</comment_count>
      <attachid>176420</attachid>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-11-28 10:27:28 -0800</bug_when>
    <thetext>Comment on attachment 176420
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=176420&amp;action=review

&gt; LayoutTests/fast/table/css-table-max-height.html:11
&gt;      font-family:ahem;
&gt; +    line-height:1;
&gt; +    font-size:16px;

You can use the shorthand here:

font: 16px/1 Ahem;

It&apos;s more compact thus better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778094</commentid>
    <comment_count>6</comment_count>
      <attachid>176527</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-11-28 11:12:12 -0800</bug_when>
    <thetext>Created attachment 176527
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778096</commentid>
    <comment_count>7</comment_count>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-11-28 11:13:18 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 176420 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=176420&amp;action=review
&gt; 
&gt; &gt; LayoutTests/fast/table/css-table-max-height.html:11
&gt; &gt;      font-family:ahem;
&gt; &gt; +    line-height:1;
&gt; &gt; +    font-size:16px;
&gt; 
&gt; You can use the shorthand here:
&gt; 
&gt; font: 16px/1 Ahem;
&gt; 
&gt; It&apos;s more compact thus better.
&gt; 
Done..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778174</commentid>
    <comment_count>8</comment_count>
      <attachid>176527</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-28 12:14:46 -0800</bug_when>
    <thetext>Comment on attachment 176527
Patch

Clearing flags on attachment: 176527

Committed r136041: &lt;http://trac.webkit.org/changeset/136041&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778175</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-28 12:14:49 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778407</commentid>
    <comment_count>10</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2012-11-28 15:24:50 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; The default line-height used by Qt-linux is different from the other platforms.

Really? Why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>788658</commentid>
    <comment_count>11</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-12-11 12:15:51 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #3)
&gt; &gt; The default line-height used by Qt-linux is different from the other platforms.
&gt; 
&gt; Really? Why?

It seems to be a matter of used font which impacts the height of a line. I remember hitting this issue myself and bug 74219 confirms it too. Regardless of what I just said, it&apos;s always good to limit the test variation on the font / line-height selection as it reduces platform-specificity.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>176420</attachid>
            <date>2012-11-28 00:59:02 -0800</date>
            <delta_ts>2012-11-28 11:12:07 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-103453-20121128143054.patch</filename>
            <type>text/plain</type>
            <size>2086</size>
            <attacher name="Pravin D">pravind.2k4</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09P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bmV4aXN0ZW50
LWZpbGUuaHRtbAogCi0jIExheW91dFRlc3RzL2Zhc3QvdGFibGUvY3NzLXRhYmxlLW1heC1oZWln
aHQuaHRtbCBmYWlsaW5nIG9uIFF0IExpbnV4Ci0jIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3No
b3dfYnVnLmNnaT9pZD0xMDM0NTMKLWZhc3QvdGFibGUvY3NzLXRhYmxlLW1heC1oZWlnaHQuaHRt
bCBbIFRleHQgXQotCiAjID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ICMKICMgZmFpbGluZyBzZWN1cml0
eSB0ZXN0cwogIyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSAjCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>176527</attachid>
            <date>2012-11-28 11:12:12 -0800</date>
            <delta_ts>2012-11-28 12:14:46 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-103453-20121129004402.patch</filename>
            <type>text/plain</type>
            <size>1958</size>
            <attacher name="Pravin D">pravind.2k4</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDEzNjAyOCkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDEyLTExLTI4ICBQcmF2aW4gRCAgPHByYXZp
bmQuMms0QGdtYWlsLmNvbT4KKworICAgICAgICBMYXlvdXRUZXN0cy9mYXN0L3RhYmxlL2Nzcy10
YWJsZS1tYXgt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WlseTphaGVtOworICAgIGZvbnQ6MTZweC8x
IEFoZW07CiAgICAgYmFja2dyb3VuZC1jb2xvcjojOTk5OTk5OwogfQogCkluZGV4OiBMYXlvdXRU
ZXN0cy9wbGF0Zm9ybS9xdC9UZXN0RXhwZWN0YXRpb25zCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIExheW91dFRl
c3RzL3BsYXRmb3JtL3F0L1Rlc3RFeHBlY3RhdGlvbnMJKHJldmlzaW9uIDEzNjAyNCkKKysrIExh
eW91dFRlc3RzL3BsYXRmb3JtL3F0L1Rlc3RFeHBlY3RhdGlvbnMJKHdvcmtpbmcgY29weSkKQEAg
LTE3NDksMTAgKzE3NDksNiBAQCBmYXN0L3dyaXRpbmctbW9kZS92ZXJ0aWNhbC1zdWJzdC1mb250
LXZlCiAjIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05ODc1MQogZmFz
dC94bWxodHRwcmVxdWVzdC94bWxodHRwcmVxdWVzdC1ub25leGlzdGVudC1maWxlLmh0bWwKIAot
IyBMYXlvdXRUZXN0cy9mYXN0L3RhYmxlL2Nzcy10YWJsZS1tYXgtaGVpZ2h0Lmh0bWwgZmFpbGlu
ZyBvbiBRdCBMaW51eAotIyBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9
MTAzNDUzCi1mYXN0L3RhYmxlL2Nzcy10YWJsZS1tYXgtaGVpZ2h0Lmh0bWwgWyBUZXh0IF0KLQog
IyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PSAjCiAjIGZhaWxpbmcgc2VjdXJpdHkgdGVzdHMKICMgPT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0gIwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>