Skip to content

Commit

Permalink
[layout] Fix crash for min-height:min-content.
Browse files Browse the repository at this point in the history
min-height:min-content should resolve to a definite size, not
indefinite.

Fixed: 339654377
Change-Id: Ifaa1ae2894c63fd3c21213ee81609137ab39f024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5532803
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1300297}
  • Loading branch information
bfgeek authored and chromium-wpt-export-bot committed May 14, 2024
1 parent 7572479 commit a2c4f68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/css-flexbox/min-height-min-content-crash.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<link rel="help" href="https://issues.chromium.org/issues/339654377">
<div style="display: flex; flex-direction: column;">
<div style="min-height: min-content; overflow: hidden;"></div>
</div>

0 comments on commit a2c4f68

Please sign in to comment.