E475 [css-sizing-4] min-intrinsic-sizing needs to be per-axis, or have axis keywords. · Issue #8620 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-sizing-4] min-intrinsic-sizing needs to be per-axis, or have axis keywords. #8620

@bfgeek

Description

@bfgeek

https://drafts.csswg.org/css-sizing-4/#intrinsic-contribution-override

Consider:

<!DOCTYPE html>
<div style="display: grid; float: left;">
  <div style="overflow-y: scroll; min-height: 100px; min-intrinsic-sizing: zero-if-scroll;">
    thisisaverylongword
  </div>
</div>

As specified the current logic would compress the intrinsic size in both axes to zero (as we are checking for a scroll container). Typically either one axis or the other is desired in many scrollers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0