Bug 220248

Summary: [LFC Display] Add a Display::Box flag for HasTransfrom
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: bfulgham, sam, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Description Simon Fraser (smfr) 2021-01-04 10:19:59 PST
[LFC Display] Add a Display::Box flag for HasTransfrom
Comment 1 Simon Fraser (smfr) 2021-01-04 10:20:21 PST
Created attachment 416953 [details]
Patch
Comment 2 Sam Weinig 2021-01-04 13:44:25 PST
Comment on attachment 416953 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=416953&action=review

> Source/WebCore/ChangeLog:10
> +        It's possible for a non-box model box to have a RenderStyle with a transform, but that
> +        style isn't applied because transforms only apply to atomic inline or block boxes,
> +        so store a bit on Box for boxes that have transforms.

This seems like really useful information to include as a comment in the header explaining why the state is seemingly potentially duplicated.
Comment 3 Radar WebKit Bug Importer 2021-01-11 10:20:16 PST
<rdar://problem/73003363>