Bug 299410

Summary: Percent height border-box content should get correct height in percent height cells
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, karlcow, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 313755    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch
none
[fast-cq]Patch none

Ahmad Saleem
Reported 2025-09-23 18:59:00 PDT
Hi Team, While going through Blink's test cases, I came across another failing case: Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/6c6315ec5c5ca31be742ebbe13cfecb43baae21a Test case: https://jsfiddle.net/Lgzy2wqx/1/ ^ Fails quite a few in Safari compared to other, firefox fails `object` related but otherwise, it matches Chrome Canary. WebKit Source: https://searchfox.org/wubkat/rev/1730c143a7d0c00bafa02168915f7df7fe7b1133/Source/WebCore/rendering/RenderBox.cpp#4775 & https://searchfox.org/wubkat/rev/1730c143a7d0c00bafa02168915f7df7fe7b1133/Source/WebCore/rendering/RenderBox.cpp#3725 I think we might need to look into what else fails but at least, it is good to file bug. Last time, Alan touched these files to do lot of clean-up, so might be easier for him to look into it. Thanks!
Attachments
Patch (8.55 KB, patch)
2026-04-29 18:19 PDT, alan
no flags
Patch (10.40 KB, patch)
2026-04-30 04:33 PDT, alan
no flags
Patch (11.91 KB, patch)
2026-04-30 04:55 PDT, alan
no flags
Patch (13.56 KB, patch)
2026-04-30 06:03 PDT, alan
no flags
Patch (13.73 KB, patch)
2026-05-01 19:04 PDT, alan
no flags
Patch (13.73 KB, patch)
2026-05-01 20:23 PDT, alan
ews-feeder: commit-queue-
Patch (13.71 KB, patch)
2026-05-01 20:39 PDT, alan
no flags
[fast-cq]Patch (15.90 KB, patch)
2026-05-04 05:39 PDT, alan
no flags
Ahmad Saleem
Comment 1 2025-09-23 19:04:07 PDT
https://jsfiddle.net/5a14g2z3/ <- does not display anything in Safari 26 (input-radio-height-inside-auto-container.html) - Quite bad IMO.
Radar WebKit Bug Importer
Comment 2 2025-09-30 18:59:10 PDT
alan
Comment 3 2026-04-29 18:19:48 PDT
alan
Comment 4 2026-04-30 04:33:46 PDT
alan
Comment 5 2026-04-30 04:55:42 PDT
alan
Comment 6 2026-04-30 06:03:58 PDT
alan
Comment 7 2026-05-01 19:04:56 PDT
alan
Comment 8 2026-05-01 20:23:01 PDT
alan
Comment 9 2026-05-01 20:39:59 PDT
alan
Comment 10 2026-05-04 05:39:14 PDT
Created attachment 479463 [details] [fast-cq]Patch
EWS
Comment 11 2026-05-04 09:27:19 PDT
Committed 312526@main (55b5406cac96): <https://commits.webkit.org/312526@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 479463 [details].
alan
Comment 12 2026-05-04 12:00:05 PDT
*** Bug 313755 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.