Bug 269169

Summary: Investigate field-sizing: content interaction with size containment
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 269124, 269125    
Bug Blocks: 264720    

Luke Warlow
Reported 2024-02-11 05:23:18 PST
If you load `data:text/html,<select style="field-sizing:content;contain:size;"><option>option 1</option><option>really long option awdaadwadw</option></select>`, `data:text/html,<textarea style="field-sizing: content; contain:size;">long content</textarea>`, or `data:text/html,<input style="field-sizing: content; contain:size;" value="longcontent">` you'll see there's serious usability issues with size containment mixed with `field-sizing: content`. This issue is to track investigating what the expected behaviour is and adjust the implementations to match that along with adding any tests that might be needed.
Attachments
Luke Warlow
Comment 1 2024-02-14 04:24:59 PST
Based on the answer provided in https://issues.chromium.org/issues/324585426 WebKit should just ensure that it's consistent with Chromium in its behaviour.
Radar WebKit Bug Importer
Comment 2 2024-02-18 05:24:14 PST
Note You need to log in before you can comment on or make changes to this bug.