Skip to content

[css-sizing-3] max-content sizes of replaced elements errors #6072

Closed

Description

@fantasai

https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes which discusses the max-content sizes of replaced elements is a bit off in a few ways:

  • The conditional for when this text triggers hooks the text into the undefined cases in CSS2.1, but the text defines a bunch of cases to which the conditional doesn't apply.
  • The conditional is above bolded text, so it's not obvious that it limits the text below it.
  • The text claims to apply to boxes with / without preferred aspect ratio, but it really should apply specifically to replaced elements.
  • The first bullet point of the last case can't apply under the conditional, and is non-Web-compatible otherwise, so should be deleted.

Original commit of this section: c42c80f

Activity

  1. fantasai commented on Mar 3, 2021

    @fantasai
    CollaboratorAuthor

    @cbiesinger @dholbert Mind reviewing the updated section? :)

  2. cbiesinger commented on Mar 10, 2021

    @cbiesinger

    In this line:

    Note: Note that when the box has a [=preferred aspect ratio=],

    I would remove the "Note that" as it's repetitive.

    Otherwise, looks good, except I have no idea if removing 300x150 from boxes with an aspect ratio is web compatible.

  3. dholbert commented on Mar 10, 2021

    @dholbert
    Member

    Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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