<?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>128287</bug_id>
          
          <creation_ts>2014-02-05 18:24:03 -0800</creation_ts>
          <short_desc>The computed lineHeight for &lt;textarea&gt; is broken when set to a relative value</short_desc>
          <delta_ts>2022-09-30 08:46:36 -0700</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>http://jsfiddle.net/yungsters/qt84F/show/</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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>dbates</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>krit</cc>
    
    <cc>man.zhong</cc>
    
    <cc>menard</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>977179</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-02-05 18:24:03 -0800</bug_when>
    <thetext>What steps will reproduce the problem?
1. Go to: http://jsfiddle.net/yungsters/qt84F/show/
2. Zoom in to 150% (works with anything not 100%).

What is the expected result?
The visual line height of both &lt;textarea&gt;&apos;s should be the same, and their `scrollHeight` should be the same.

What happens instead?
The visual line height of the target &lt;textarea&gt; is significantly smaller than the line height of the source &lt;textarea&gt;.

See https://code.google.com/p/chromium/issues/detail?id=341262</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902363</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-30 08:45:38 -0700</bug_when>
    <thetext>I am able to reproduce this in Safari 16 and STP 154 using attached JSFiddle and it shows following:

For Target:

lineHeight: 20.000002px
scrollHeight: 65px &lt;----- changes from 62 px and show in &quot;red&quot;

&gt;&gt;&gt; Chrome Canary 108:

lineHeight: 20px
scrollHeight: 64px &lt;----- does not change even with zoom.

&gt;&gt;&gt; Firefox Nightly 107:

lineHeight: 20px
scrollHeight: 64px &lt;----- does not change even with zoom.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902365</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-30 08:46:36 -0700</bug_when>
    <thetext>Chrome bug was merged into https://bugs.chromium.org/p/chromium/issues/detail?id=138730, for which I get &quot;permission denied&quot;. Just want to highlight. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>