Page MenuHomePhabricator

CSS Box Sizing Module Level 4 in css sanitizer
Closed, ResolvedPublicFeature

Description

CSS Box Sizing Level 4

  • T271958 Support "width: fit-content" in TemplateStyles/Sanitized CSS
  • T326906 aspect-ratio is not supported in css sanitizer
  • contain-intrinsic-* properties (size, width, height, block-size, inline-size)
  • min-intrinsic-sizing property

Specs:

Baselines (implemented in all 3 browser engines):

Event Timeline

Change #1074721 had a related patch set uploaded (by Eccenux; author: Eccenux):

[css-sanitizer@master] Support for CSS Box Sizing Level 4

https://gerrit.wikimedia.org/r/1074721

Nux updated the task description. (Show Details)

As suggested by Tim Starling in the code review, I added more properties:

So everything should be in accordance with the latest draft of the specification and should be more future-proof.

Still waiting for the final go/no-go, but I've rebased my commits, so it should be good to go.

Change #1074721 merged by jenkins-bot:

[css-sanitizer@master] Support for CSS Box Sizing Level 4 (as seen in draft from 2025-02-24)

https://gerrit.wikimedia.org/r/1074721

The fix was merged in March but it still needs to be released and updated in TemplateStyles.