Skip to content

[css-inline] Draft line-box-contain proposal #3199

Open
@fantasai

Description

@fantasai

@dbaron had a proposal called line-box-contain for controlling how line box heights are calculated. Some aspects of this feature probably need to be revived if we're going to have baseline-to-baseline distances that aren't wiggly in simple cases like a single-font-size paragraph mixing proportional and monospace text.

Proposed values need to include:

  • current behavior value ('normal'? 'legacy'?)
  • value that ignores > 1em line-height values on anything other than the root inline box (slightly more conservative approach than dbaron's proposal to only use the root inline) so that the line box only grows if its contents actually extend outside the outer leading edges of the root inline
  • possibly an “absolute” value that does use only the root inline? This can introduce content overlap...
  • quirks mode value?
  • anything else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions