Bug 236234

Summary: [model] improve sizing on iOS
Product: WebKit Reporter: Antoine Quint <graouts>
Component: New BugsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, dino, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 236233    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Antoine Quint 2022-02-07 06:55:27 PST
[model] improve sizing on iOS
Comment 1 Radar WebKit Bug Importer 2022-02-07 06:55:48 PST
<rdar://problem/88569898>
Comment 2 Antoine Quint 2022-02-07 07:20:47 PST
Created attachment 451094 [details]
Patch
Comment 3 Dean Jackson 2022-02-07 07:48:29 PST
Comment on attachment 451094 [details]
Patch

Any way to test this?
Comment 4 Antoine Quint 2022-02-07 08:04:57 PST
(In reply to Dean Jackson from comment #3)
> Comment on attachment 451094 [details]
> Patch
> 
> Any way to test this?

This sets the size in ways that are internal to ARQL, I don't think we can test this.
Comment 5 Darin Adler 2022-02-07 08:49:13 PST
To state something we have learned over the years on the WebKit project: If we want to keep this working we have to figure out some way to regression test. Even if it involves thinking creatively and adding new test hooks of some kind. Otherwise it just breaks some day without anyone noticing.
Comment 6 Antoine Quint 2022-02-07 08:53:29 PST
I'll engage with the right people internally to see how we could test this correctly.
Comment 7 Antoine Quint 2022-02-07 09:42:24 PST
I think we might be able to cook something up with empty model resources and turning on debug colors on ASVInlinePreview instances which should allow us to have predictable renderings to test against.
Comment 8 EWS 2022-02-07 11:43:57 PST
Committed r289235 (246919@main): <https://commits.webkit.org/246919@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451094 [details].