Bug 260781 - [Interop 2021][CSS Transforms] css/css-transforms/transform-rotate-003.html and transform-rotate-005.html fail
Summary: [Interop 2021][CSS Transforms] css/css-transforms/transform-rotate-003.html a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-27 20:30 PDT by Matt Woodrow
Modified: 2023-08-27 20:32 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2023-08-27 20:30:15 PDT
Looks like these only fail on WPT.fyi, not in our infrastructure.

Looks like very very subtle differences due to float/double precision when combining multiple transforms.
Comment 1 Radar WebKit Bug Importer 2023-08-27 20:30:23 PDT
<rdar://problem/114542837>
Comment 2 Matt Woodrow 2023-08-27 20:32:49 PDT
We could potentially use float precision instead of double, which would hopefully cause these to end up identical.

Alternatively, we could use precomputed sin/cos values for 'common' degree values.

We could also just fuzz the tests (more), since the rendering is visually identical.