From a770bf0102a303de00fa5504d6b5b8904d30bc52 Mon Sep 17 00:00:00 2001 From: zcorpan Date: Thu, 7 Nov 2024 22:31:38 +0100 Subject: [PATCH] Percentage height quirk should apply to flex and grid items Fixes https://github.com/w3c/csswg-drafts/issues/5545. --- quirks.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quirks.bs b/quirks.bs index 0cecabf..fc1aef6 100644 --- a/quirks.bs +++ b/quirks.bs @@ -237,8 +237,8 @@ the first step that returns a value: ''height/auto'', then return |element|.
  • If |element| has a computed value of the 'position' property that is - ''position/absolute'', or if |element| is a not a block container or a - table wrapper box, then return |element|. + ''position/absolute'', or if |element| is a not a block box, a + table wrapper box, a flex item, or a grid item, then return |element|.

  • Jump to the first step.