Bug 260789

Summary: Use 'isPercentOrCalculated' across Table Layout Code
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=262922
https://bugs.webkit.org/show_bug.cgi?id=262918

Description Ahmad Saleem 2023-08-28 05:08:19 PDT
Hi Team,

It makes sense to use 'isPercentOrCalculated' rather than just 'isPercent' because if we have non-percent in 'calc()' used on Table Layout, we can get crashes (happened in e.g., bug 253841).

Just wanted to raise, so we can fix it.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-09-04 05:09:13 PDT
<rdar://problem/114931755>
Comment 2 Ahmad Saleem 2023-10-09 16:58:05 PDT
PR - https://github.com/WebKit/WebKit/pull/17122

I was doing this PR to fix 'fixed-layout-calc-width-001.html' and 'auto-layout-calc-width-001.html', which Alan is now tackling.

Closing this PR and marking this bug as 'RESOLVED WONTFIX'.