Bug 260781

Summary: [Interop 2021][CSS Transforms] css/css-transforms/transform-rotate-003.html and transform-rotate-005.html fail
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.