<?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>141423</bug_id>
          
          <creation_ts>2015-02-10 03:54:38 -0800</creation_ts>
          <short_desc>[GTK] Layout Tests are failing since the change of the computed value of line-height:normal</short_desc>
          <delta_ts>2017-03-11 10:54:25 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>chavarria1991</cc>
    
    <cc>clopez</cc>
    
    <cc>dino</cc>
    
    <cc>galineau</cc>
    
    <cc>ltilve</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1068021</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-02-10 03:54:38 -0800</bug_when>
    <thetext>The fast/css/font-shorthand-from-longhands.html layout test is failing since r179168 (http://trac.webkit.org/r179168).

The test replaces &quot;normal&quot; value by a numeric value. GTK+ port results have different numeric values.

The diff can be found here https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/font-shorthand-from-longhands-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1068023</commentid>
    <comment_count>1</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-02-10 04:39:42 -0800</bug_when>
    <thetext>More tests are failing due to the same revision the error is the different numeric values from the expected and the test result.

 * css3/calc/line-height.html

--- /home/ch01/wk-tools/layout-test-results/css3/calc/line-height-expected.txt
+++ /home/ch01/wk-tools/layout-test-results/css3/calc/line-height-actual.txt
@@ -4,7 +4,7 @@


 PASS getComputedStyle(document.getElementById(&quot;calc-percent&quot;), null).lineHeight is getComputedStyle(document.getElementById(&quot;control&quot;), null).lineHeight
-FAIL getComputedStyle(document.getElementById(&quot;calc-percent-pixels&quot;), null).lineHeight should be 32px. Was 18px.
+FAIL getComputedStyle(document.getElementById(&quot;calc-percent-pixels&quot;), null).lineHeight should be 32px. Was 17px.
 PASS successfullyParsed is true

 TEST COMPLETE


 * fast/css/font-shorthand-line-height.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/font-shorthand-line-height-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/font-shorthand-line-height-actual.txt
@@ -4,9 +4,9 @@
 
 
 PASS lineHeight(system_font_1) is &apos;100px&apos;
-PASS lineHeight(system_font_2) is &apos;16px&apos;
+FAIL lineHeight(system_font_2) should be 16px. Was 17px.
 PASS lineHeight(shorthand_normal_1) is &apos;100px&apos;
-PASS lineHeight(shorthand_normal_2) is &apos;12px&apos;
+FAIL lineHeight(shorthand_normal_2) should be 12px. Was 11px.
 PASS lineHeight(shorthand_line_height_1) is &apos;100px&apos;
 PASS lineHeight(shorthand_line_height_2) is &apos;200px&apos;
 PASS successfullyParsed is true

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/font-shorthand-line-height-pretty-diff.html


 * fast/css/getComputedStyle/computed-style-font.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/getComputedStyle/computed-style-font-pretty-diff.html


 * fast/css/getComputedStyle/computed-style-without-renderer.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/getComputedStyle/computed-style-without-renderer-actual.txt
@@ -49,7 +49,7 @@
 image-rendering: auto
 left: auto
 letter-spacing: normal
-line-height: 18px
+line-height: 17px
 list-style-image: none
 list-style-position: outside
 list-style-type: disc

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/getComputedStyle/computed-style-without-renderer-pretty-diff.html


 * fast/css/line-height-text-autosizing.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/line-height-text-autosizing-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/line-height-text-autosizing-actual.txt
@@ -4,7 +4,7 @@
 
 
 Case without text size adjust.
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue(&apos;line-height&apos;) is &quot;23px&quot;
+FAIL window.getComputedStyle(testDivNoAdjust).getPropertyValue(&apos;line-height&apos;) should be 23px. Was 22px.
 PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue(&apos;font-size&apos;) is &quot;20px&quot;
 testDivNoAdjust.style[&apos;line-height&apos;] = &apos;1.6&apos;
 PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue(&apos;line-height&apos;) is &quot;32px&quot;

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/line-height-text-autosizing-pretty-diff.html


 * fast/css/getComputedStyle/computed-style.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/getComputedStyle/computed-style-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/css/getComputedStyle/computed-style-actual.txt
@@ -50,7 +50,7 @@
 image-rendering: auto;
 left: auto;
 letter-spacing: normal;
-line-height: 18px;
+line-height: 17px;
 list-style-image: none;
 list-style-position: outside;
 list-style-type: disc;

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/getComputedStyle/computed-style-pretty-diff.html


 * fast/css/font-shorthand-from-longhands.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/fast/css/font-shorthand-from-longhands-pretty-diff.html


 * editing/pasteboard/simplfiying-markup-should-not-strip-content.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r179867%20%286096%29/editing/pasteboard/simplfiying-markup-should-not-strip-content-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1068025</commentid>
    <comment_count>2</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-02-10 04:41:12 -0800</bug_when>
    <thetext>*** Bug 141418 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1068027</commentid>
    <comment_count>3</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-02-10 04:41:41 -0800</bug_when>
    <thetext>*** Bug 141421 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1068322</commentid>
    <comment_count>4</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-02-11 04:11:11 -0800</bug_when>
    <thetext>The svg/css/getComputedStyle-basic.xhtml layout test is also affected:

--- /home/ch01/wk-tools/layout-test-results/svg/css/getComputedStyle-basic-expected.txt
+++ /home/ch01/wk-tools/layout-test-results/svg/css/getComputedStyle-basic-actual.txt
@@ -98,7 +98,7 @@
 rect: style.getPropertyCSSValue(left) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(letter-spacing) : normal
 rect: style.getPropertyCSSValue(letter-spacing) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(line-height) : 18px
+rect: style.getPropertyValue(line-height) : 17px
 rect: style.getPropertyCSSValue(line-height) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(list-style-image) : none
 rect: style.getPropertyCSSValue(list-style-image) : [object CSSPrimitiveValue]
@@ -610,7 +610,7 @@
 g: style.getPropertyCSSValue(left) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(letter-spacing) : normal
 g: style.getPropertyCSSValue(letter-spacing) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(line-height) : 18px
+g: style.getPropertyValue(line-height) : 17px
 g: style.getPropertyCSSValue(line-height) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(list-style-image) : none
 g: style.getPropertyCSSValue(list-style-image) : [object CSSPrimitiveValue]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1068812</commentid>
    <comment_count>5</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2015-02-12 17:48:10 -0800</bug_when>
    <thetext>To be clear, r179168 only made line-height: normal compute to a length instead of &apos;normal&apos;. What we see here are line-height length values changing, most of them by 1px. It seems we may have stumbled into a difference between ports that wasn&apos;t visible before.

I will try to look into this though I&apos;m not able to build on Linux at this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1149975</commentid>
    <comment_count>6</comment_count>
    <who name="Lorenzo Tilve">ltilve</who>
    <bug_when>2015-12-17 07:17:50 -0800</bug_when>
    <thetext>editing/pasteboard/simplfiying-markup-should-not-strip-content.html layout test was being skipped.

Passing again after &lt;http://trac.webkit.org/changeset/186191&gt;. Unskipped in &lt;http://trac.webkit.org/changeset/194218&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201281</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-06-10 11:15:26 -0700</bug_when>
    <thetext>r200534 &lt;http://trac.webkit.org/r200534&gt; removed the test fast/css/line-height-text-autosizing.html and made it iOS specific fast/text-autosizing/ios/autosize-width-expected.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>