<?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>233770</bug_id>
          
          <creation_ts>2021-12-02 10:22:08 -0800</creation_ts>
          <short_desc>-webkit-line-clamp quality of implementation</short_desc>
          <delta_ts>2023-12-11 13:47:37 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=214459</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=266018</see_also>
          <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>
          <dependson>45399</dependson>
    
    <dependson>135334</dependson>
    
    <dependson>59174</dependson>
    
    <dependson>63781</dependson>
    
    <dependson>176499</dependson>
    
    <dependson>187938</dependson>
    
    <dependson>219100</dependson>
    
    <dependson>219488</dependson>
    
    <dependson>219817</dependson>
    
    <dependson>244286</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>karlcow</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>1819759</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-12-02 10:22:08 -0800</bug_when>
    <thetext>Ian (from the Chrome team) has suggested -webkit-line-clamp for Interop 2022: https://github.com/web-platform-tests/interop-2022/issues/16

Essentially, the proposal is to move -webkit-line-clamp closer to line-clamp and the current spec: https://drafts.csswg.org/css-overflow-3/#propdef--webkit-line-clamp (where the value is none | &lt;integer&gt;), and assuming we only care about behaviour when the box with -webkit-line-clamp also has overflow: hidden (i.e., to exclude the spec&apos;d behaviour about discarding the content beyond the clamp).

Ian outlines three things in the issue:

1. RTL support,

2. Create a block-flow box instead of a flex box,

3. Support -webkit-line-clamp: none.

See https://wpt.fyi/results/css/css-overflow?label=master&amp;label=experimental&amp;aligned&amp;q=webkit-line-clamp for current test results; from the GitHub issue it seems like 008, 029, and maybe 024 need updated to match the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819761</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-02 10:22:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/85977747&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819762</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-12-02 10:23:01 -0800</bug_when>
    <thetext>Note that I did just mark this as depending on most of our open bugs for -webkit-line-clamp; I didn&apos;t actually audit these beyond very briefly looking at titles and seeing if they looked like dupes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>