<?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>267519</bug_id>
          
          <creation_ts>2024-01-14 17:54:36 -0800</creation_ts>
          <short_desc>Resize should not be applied to generated content</short_desc>
          <delta_ts>2024-10-24 06:27:51 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, GoodFirstBug, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>karlcow</cc>
    
    <cc>lea</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2005005</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-14 17:54:36 -0800</bug_when>
    <thetext>Hi Team,

While looking into browser specific failures on WPT.FYI, I noticed that we fail following WPT Test:

WPT Test Case: https://wpt.fyi/results/css/css-ui/resize-generated-content.html?label=experimental&amp;label=master&amp;aligned=

WPT Test Case (Live Link): http://wpt.live/css/css-ui/resize-generated-content.html

Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/2584970

Something like: `style().styleType() != PseudoId::None` needs to be added in our code base:

https://searchfox.org/wubkat/rev/581e116dc6ce254811dbe2da9d1c1168762fc30c/Source/WebCore/style/StyleBuilderConverter.h#797

or

some place else - I don&apos;t know where exactly, we need to add this.

Just wanted to raise so we can at least track it.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005006</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-14 17:55:56 -0800</bug_when>
    <thetext>or

https://searchfox.org/wubkat/rev/581e116dc6ce254811dbe2da9d1c1168762fc30c/Source/WebCore/rendering/RenderLayerScrollableArea.cpp#702</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005007</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-14 19:07:02 -0800</bug_when>
    <thetext>This isn&apos;t super hard to fix.

All the `resize() != Resize::None` need to be consolidated into a single method, and then that method should be augmented to check the pseudoId.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005008</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-14 19:07:18 -0800</bug_when>
    <thetext>https://searchfox.org/wubkat/search?q=%21%3D+Resize%3A%3ANone&amp;path=&amp;case=false&amp;regexp=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006461</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-01-21 17:55:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/121348638&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070173</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-10-23 12:11:59 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35642</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070329</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-24 04:45:07 -0700</bug_when>
    <thetext>Committed 285644@main (35e55ec1b446): &lt;https://commits.webkit.org/285644@main&gt;

Reviewed commits have been landed. Closing PR #35642 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070349</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-10-24 06:27:51 -0700</bug_when>
    <thetext>*** Bug 135243 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>