Bug 255328 - [TextureMapper][GTK][WPE] CSS 3D animations/transforms are glitchy in some cases
Summary: [TextureMapper][GTK][WPE] CSS 3D animations/transforms are glitchy in some cases
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 01:49 PDT by Adrian Perez
Modified: 2023-04-12 14:00 PDT (History)
7 users (show)

See Also:


Attachments
Screenshot, side by side comparison with Chromium (2.31 MB, image/png)
2023-04-12 01:49 PDT, Adrian Perez
no flags Details
Patch to disable depth buffers (687 bytes, patch)
2023-04-12 14:00 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2023-04-12 01:49:34 PDT
Created attachment 465864 [details]
Screenshot, side by side comparison with Chromium

The following page has an animation of the solar system that uses CSS 3D
transforms and animation:

  https://clixplatform.tiss.edu/softwares/Tools/Solar_System_Animation/en/

The WPE and GTK ports show some of the elements glitching, with some of their
parts missing (transparent, mostyl visible on planets) and opacity missing or
wrongly applied (mostly noticeable on the text label for Earth as it circles
around the sun).
Comment 1 Adrian Perez 2023-04-12 01:54:49 PDT
This is reproducible on main (tested 262864@main), both with the WPE
and GTK ports; the GTK4 MiniBrowser is shown in the attached screenshot.
Comment 2 Fujii Hironori 2023-04-12 14:00:02 PDT
Created attachment 465871 [details]
Patch to disable depth buffers

This is a side effect of enabling depth buffers prematurely by 229846@main.
You can check how it looked like by disabling depth buffers.
The fundamental problems are tracked by:

  Bug 217103 – [TextureMapper] A semi-transparent parent layer is rendered as a opaque layer for children layers
  Bug 217080 – [TextureMapper] Order Independent Transparency support

I'm a bit busy now. I'd be grad to review if someone proposes patches for them.