Bug 250901 - Most calls to style.hasTransform() should probably use style.affectsTransform()
Summary: Most calls to style.hasTransform() should probably use style.affectsTransform()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 247299 250387
Blocks:
  Show dependency treegraph
 
Reported: 2023-01-20 08:54 PST by Simon Fraser (smfr)
Modified: 2023-01-27 08:55 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 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.
Comment 1 Antoine Quint 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().
Comment 2 Radar WebKit Bug Importer 2023-01-27 08:55:17 PST
<rdar://problem/104747529>