Skip to content

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 27 Oct 07:39
· 17 commits to main since this release

Added

  • TokenRange.ToList(): the same tokens as a ComponentValueList, with nothing copied.

Fixed

  • A shorthand whose value holds var() set nothing when it expanded to flow-relative longhands. padding-inline: calc(var(--spacing) * 4) (what Tailwind CSS 4 emits for px-, py- and mx-), padding-block, margin-inline, margin-block, inset-inline, inset-block, scroll-padding-*, scroll-margin-*, border-inline-width, border-block-style, border-inline-start and the other logical pairs now give the same values as Chrome, in every writing mode and direction. The substituted longhand was looked up by the physical property it maps to instead of the one the declaration set.
  • The same lookup dropped a longhand under an alias name: font: var(--x) whose value holds a width keyword (font-stretch, now font-width) lost it.
  • A CSS-wide keyword on a shorthand that has no expansion grammar was applied to its longhands only, so the shorthand itself read as its initial value: vertical-align: inherit (the user-agent rule for tr, td and th, so every table cell read baseline instead of its row's value), text-align: initial, white-space: inherit, font-variant: initial, border-radius: inherit, place-items: inherit and similar. all now sets those shorthands too.