<?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>197525</bug_id>
          
          <creation_ts>2019-05-02 12:11:06 -0700</creation_ts>
          <short_desc>-webkit-line-clamp truncating line-height</short_desc>
          <delta_ts>2021-12-02 10:20:03 -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>Safari 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>187938</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Timothy Armstrong">timarmstrong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>gsnedders</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>mockee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1532383</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Armstrong">timarmstrong</who>
    <bug_when>2019-05-02 12:11:06 -0700</bug_when>
    <thetext>* What steps will reproduce the problem?

(1) Visit https://jsfiddle.net/4bzh2rv9/
(2) Click the toggle button so that the box can no longer contain two lines of text (and shows an ellipsis).
(3) Note that as soon as the above condition is met, the height of the box decreases, instead of allowing for the appropriate amount of line-height.

* What is the expected result?

The div height should not change once the ellipsis is present.

* What happens instead?

The div height shrinks once the ellipsis is present.


(See also: crbug.com/937931)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1532831</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-05-03 10:21:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/50448006&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819755</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-12-02 10:20:03 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 187938 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>