Bug 253013 - [contain-intrinsic-size] failures related to replaced elements
Summary: [contain-intrinsic-size] failures related to replaced elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: cathiechen
URL:
Keywords: InRadar
Depends on:
Blocks: 236707
  Show dependency treegraph
 
Reported: 2023-02-27 11:35 PST by cathiechen
Modified: 2023-03-03 19:51 PST (History)
6 users (show)

See Also:


Attachments
WIP-patch (13.74 KB, patch)
2023-02-27 11:37 PST, cathiechen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cathiechen 2023-02-27 11:35:19 PST
There are several issues need to fix.
* There are some special returns for inline size containment. We should avoid it and let intrinsicSize() to handle both size and inline size containment instead.
* For video, when calculateIntrinsicSize(), it should consider contain:inline-size.
* intrinsicSize() should consider the inline size containment scenario.
Comment 1 cathiechen 2023-02-27 11:37:30 PST
Created attachment 465202 [details]
WIP-patch
Comment 2 cathiechen 2023-03-01 11:07:07 PST
Pull request: https://github.com/WebKit/WebKit/pull/10881
Comment 3 Radar WebKit Bug Importer 2023-03-01 12:23:25 PST
<rdar://problem/106100196>
Comment 4 EWS 2023-03-03 19:51:02 PST
Committed 261205@main (43b73e296e50): <https://commits.webkit.org/261205@main>

Reviewed commits have been landed. Closing PR #10881 and removing active labels.