Bug 245118

Summary: TransformationMatrix: mapPoint, mapRect and mapQuad should clamp a point at infinity such as projectPoint
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: PlatformAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 244824    
Attachments:
Description Flags
Patch none

Description Fujii Hironori 2022-09-12 21:31:09 PDT
TransformationMatrix: mapPoint, mapRect and mapQuad should clamp a point at infinity such as projectPoint

If w<0, the point is at infinity. projectPoint clamps such points.
mapPoint, mapRect and mapQuad also should do that.

TextureMapper has problems due to this bug (bug#244824 and bug#244915 comment#2).
Comment 1 Fujii Hironori 2022-09-12 21:49:09 PDT
Created attachment 462303 [details]
Patch
Comment 2 Fujii Hironori 2022-09-14 05:18:39 PDT
This patch doesn't solve the problem of bug#244824.