WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
242837
out-of-flow content has the incorrect height when its height is set to fit-content
https://bugs.webkit.org/show_bug.cgi?id=242837
Summary
out-of-flow content has the incorrect height when its height is set to fit-co...
Jesper van den Ende
Reported
2022-07-16 13:38:01 PDT
Created
attachment 460957
[details]
the html source code of the reduced test case When a <dialog> element has its height set to 'fit-content' and its child has its height set to '100%', the child is rendered with a height of 0px. Visit
https://dialog-fit-content-style.glitch.me/
for a demo
Attachments
the html source code of the reduced test case
(519 bytes, text/html)
2022-07-16 13:38 PDT
,
Jesper van den Ende
no flags
Details
testcase without dialog
(627 bytes, text/html)
2022-07-17 07:34 PDT
,
Tim Nguyen (:ntim)
no flags
Details
[fast-cq]Patch
(9.47 KB, patch)
2026-04-15 16:13 PDT
,
alan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2022-07-17 07:34:29 PDT
Created
attachment 460959
[details]
testcase without dialog
Radar WebKit Bug Importer
Comment 2
2022-07-23 13:38:15 PDT
<
rdar://problem/97492632
>
Ahmad Saleem
Comment 3
2023-09-27 16:21:16 PDT
Still reproducible in WebKit ToT (
268538@main
). Since only reproducible in WebKit, marking this as 'BrowserCompat'. Firefox Nightly 120 and Chrome Canary 119 match each other.
alan
Comment 4
2026-04-15 16:13:27 PDT
Created
attachment 479098
[details]
[fast-cq]Patch
EWS
Comment 5
2026-04-16 09:28:09 PDT
Committed
311375@main
(16c999a1edc5): <
https://commits.webkit.org/311375@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 479098
[details]
.
Sammy Gill
Comment 6
2026-04-22 15:20:14 PDT
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/59421
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug