<?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>263699</bug_id>
          
          <creation_ts>2023-10-25 17:29:26 -0700</creation_ts>
          <short_desc>getComputedStyle does not return correct transform</short_desc>
          <delta_ts>2023-11-10 11:54:55 -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 Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/42936</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</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="Joone Hur">joone</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>graouts</cc>
    
    <cc>mattwoodrow</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>1987621</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-10-25 17:29:26 -0700</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across another failing test case:

Test Case: https://jsfiddle.net/5oomd14v/

^ Chrome Canary 120 and Firefox Nightly 121 shows:

matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1)
matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1)

While Safari Technology Preview 181 shows:

matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1)
none

____

Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&amp;revision=201174

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/css/ComputedStyleExtractor.cpp#857

In `computedTransform` function and in below:

if (!style.hasTransform() || is&lt;RenderInline&gt;(renderer))

to

if (!style.hasTransform() || !renderer)

leads to passing above but failures in WPT test cases. I haven&apos;t explored further but just wanted to raise.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987686</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-26 02:12:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/117523629&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988293</commentid>
    <comment_count>2</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2023-10-29 00:08:51 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19685</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988411</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-30 01:10:35 -0700</bug_when>
    <thetext>Committed 269920@main (1f695bbf9449): &lt;https://commits.webkit.org/269920@main&gt;

Reviewed commits have been landed. Closing PR #19685 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989452</commentid>
    <comment_count>4</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2023-11-02 11:24:28 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/19896</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989604</commentid>
    <comment_count>5</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2023-11-02 21:59:33 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/42936</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991644</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-10 11:54:52 -0800</bug_when>
    <thetext>Committed 270557@main (f998524614f7): &lt;https://commits.webkit.org/270557@main&gt;

Reviewed commits have been landed. Closing PR #19896 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>