<?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>244286</bug_id>
          
          <creation_ts>2022-08-23 22:58:09 -0700</creation_ts>
          <short_desc>-webkit-line-clamp should not clamp each flex item individually</short_desc>
          <delta_ts>2024-02-29 01:46:02 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>https://bug1786147.bmoattachments.org/attachment.cgi?id=9290798</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>233770</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>calum.p.m.smith</cc>
    
    <cc>emilio</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>woodlxf00</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1893416</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-08-23 22:58:09 -0700</bug_when>
    <thetext>Mozilla Test Case: https://bug1786147.bmoattachments.org/attachment.cgi?id=9290798

This is working on Blink, but fails in Gecko and WebKit.

Blink does something differently, see Emilio&apos;s comment on Mozilla Bugzilla
https://bugzilla.mozilla.org/show_bug.cgi?id=1786147#c3

&gt; It seems Blink now special-cases &quot;old flex box with line-clamp&quot; and just creates a single block: 
&gt; https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/layout_object.cc;l=356;drc=312b74e385e6aba98ab31fd911238c0dc16b396c

This was added in Blink with this commit.
https://github.com/chromium/chromium/commit/383112a


This creates webcompat issues
see https://github.com/webcompat/web-bugs/issues/109468
and https://github.com/webcompat/web-bugs/issues/107595

Emilio is in the process of creating a patch to match Chrome&apos;s behavior.

But I wonder if this should also be discussed on the spec side. 
It also probably needs a simplified test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893423</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-23 23:58:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/99070494&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901718</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-09-28 01:21:02 -0700</bug_when>
    <thetext>*** Bug 245459 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956713</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-20 04:19:22 -0700</bug_when>
    <thetext>WebKit ToT (264288@main) &amp; Safari Technology Preview 170 are matching with Chrome Canary 115 &amp; Firefox Nightly 115.

Since all browsers are matching, I am marking this as &quot;RESOLVED CONFIGURATION CHANGED&quot;, if it still exist, please reopen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017709</commentid>
    <comment_count>4</comment_count>
    <who name="Woody Lee">woodlxf00</who>
    <bug_when>2024-02-29 01:46:02 -0800</bug_when>
    <thetext>Note: it was resolved at 263360@main in https://bugs.webkit.org/show_bug.cgi?id=255487</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>