<?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>310809</bug_id>
          
          <creation_ts>2026-03-26 05:47:44 -0700</creation_ts>
          <short_desc>[GTK][WPE] Sync initial `preserves3D` state for structural `GraphicsLayerCoordinated`</short_desc>
          <delta_ts>2026-03-26 07:09:41 -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>WPE WebKit</component>
          <version>WebKit Local 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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolas Zimmermann">zimmermann</reporter>
          <assigned_to name="Nikolas Zimmermann">zimmermann</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2193898</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-03-26 05:47:44 -0700</bug_when>
    <thetext>Structural GraphicsLayers (e.g. viewport anchor layers for position:sticky)
are initialized with preserves3D=true in the base GraphicsLayer constructor,
but this value was never synced to the CoordinatedPlatformLayer because
Change::Preserves3D was not included in the initial pending changes. Since
the value is already true, subsequent setPreserves3D(true) calls early-return
without noting the change. This caused the SkiaCompositingLayer to have
preserves3D=false, breaking 3D rendering context layer collection for
preserve-3d scenes containing sticky-positioned elements.

Always include Change::Preserves3D in the initial sync. This is the only
property with a conditional default (true for Type::Structural, false
otherwise) that differs between GraphicsLayer and CoordinatedPlatformLayer.
All other synced properties have matching defaults in both classes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2193899</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-03-26 05:50:46 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61411</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2193931</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-26 07:09:38 -0700</bug_when>
    <thetext>Committed 309989@main (2a377397b561): &lt;https://commits.webkit.org/309989@main&gt;

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

    </bug>

</bugzilla>