Skip to content

Percentage height quirk should apply to flex and grid items #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address comments
  • Loading branch information
zcorpan committed Feb 18, 2025
commit 5118363ed6de70120e67ad7b8e561861dd19e087
15 changes: 12 additions & 3 deletions quirks.bs
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,18 @@ the first step that returns a value:
<li><p>If |element| has a <a>computed value</a> of the 'height' property that is not
''height/auto'', then return |element|.

<li><p>If |element| has a <a>computed value</a> of the 'position' property that is
''position/absolute'', or if |element| is a not a <a>block box</a>, a
<a>table wrapper box</a>, a <a>flex item</a>, or a <a>grid item</a>, then return |element|.
<li>
<p>If the following conditions are true, then return |element|:</p>

<ol>
<li><p>|element| has a <a>computed value</a> of the 'position' property that is
''position/absolute''

<li><p>|element| is a not a <a>block box</a>, nor an <a>inline-block</a>, nor a block-level or
inline-level <a>table wrapper box</a>

<li><p>|element| is a <a>flex item</a> or a <a>grid item</a>
</ol>

<li><p>Jump to the first step.

Expand Down