Bug 250901

Summary: Most calls to style.hasTransform() should probably use style.affectsTransform()
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, graouts, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250909
Bug Depends on: 247299, 250387    
Bug Blocks:    

Simon Fraser (smfr)
Reported 2023-01-20 08:54:39 PST
We need to check the usage of style.hasTransform(), which ignores the individual transform properties. In most cases, .effectsTransform() is probably the one we should use.
Attachments
Antoine Quint
Comment 1 2023-01-20 09:19:51 PST
We should just remove hasTransform() such that everything uses affectsTransform(). Anything that needs to check whether a value was set using the "transform" property can look at transform().
Radar WebKit Bug Importer
Comment 2 2023-01-27 08:55:17 PST
Note You need to log in before you can comment on or make changes to this bug.