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 all commits
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
16 changes: 13 additions & 3 deletions quirks.bs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ spec:css-display-4
type:property; text:display
type:dfn; text:containing block
type:dfn; text:initial containing block
type:dfn; text:block box
</pre>

<style>
Expand Down Expand Up @@ -255,9 +256,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 container</a> or a
<a>table wrapper box</a>, then return |element|.
<li>
<p>If any of 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