Skip to content

[css-sizing] Incorrect use of the word "compute" in definition of intrinsic keyword values #2708

@MatsPalmgren

Description

@MatsPalmgren

The min-content and max-content values are defined as "otherwise compute to the property’s initial value". I read that as "otherwise (in the block-axis) the computed value of this property is the property’s initial value". This is not what UAs actually implement and would be problematic to implement since it would introduce a dependency on the writing-mode property. For example:

<div style="height: min-content">
  <div  style="height: inherit"></div>
</div>

The spec suggest that the inner element should inherit the value auto. This seems wrong to me, it should inherit the value min-content (and this is what UAs currently implements).

I suggest you reword it as "otherwise the used value is the property’s initial value".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions