WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310809
[GTK][WPE] Sync initial `preserves3D` state for structural `GraphicsLayerCoordinated`
https://bugs.webkit.org/show_bug.cgi?id=310809
Summary
[GTK][WPE] Sync initial `preserves3D` state for structural `GraphicsLayerCoor...
Nikolas Zimmermann
Reported
2026-03-26 05:47:44 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2026-03-26 05:50:46 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61411
EWS
Comment 2
2026-03-26 07:09:38 PDT
Committed
309989@main
(2a377397b561): <
https://commits.webkit.org/309989@main
> Reviewed commits have been landed. Closing PR #61411 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug