#565: Review of CSS Sizing 3

Visit on Github.

Opened Oct 23, 2020

HIQaH! QaH! TAG!

I'm requesting a TAG review of CSS Sizing Level 3.

This CSS module defines the various sizing properties and concepts used throughout CSS. New features since CSS2 are summarized in https://www.w3.org/TR/css-sizing-3/#changes-3

  • Explainer¹ (minimally containing user needs and example code): None
  • Specification URL: https://www.w3.org/TR/css-sizing-3/
  • Tests: throughout the CSS WPT repo
  • Security and Privacy self-review²: The only relevant concern seems to be that content-based sizes can expose information about the contents of an element via the size.
  • GitHub repo (if you prefer feedback filed there): https://github.com/w3c/csswg-drafts/issues
  • Primary contacts (and their relationship to the specification): @fantasai and @tabatkins (editors)
  • Organization(s)/project(s) driving the specification: CSSWG
  • Key pieces of existing multi-stakeholder review or discussion of this specification: Nothing particularly exciting, just an interminably long list of issues from everyone working on CSS layout since ~2000.
  • External status/issue trackers for this specification (publicly visible, e.g. Chrome Status): Unaware of any meta tracking, just individual bugs. If you really want me to triage all the engines' sizing bugs so I can list them all here, please ask for that work explicitly as I'd rather not spend a few months on it if it's not required.

Further details:

  • [tl;dr but I promise to review it once you put it on w3.org] I have reviewed the TAG's API Design Principles
  • Relevant time constraints or deadlines: aiming to transition to CR this year
  • The group where the work on this specification is currently being done: CSSWG
  • Major unresolved issues with or opposition to this specification: https://github.com/w3c/csswg-drafts/issues/5650
  • This work is being funded by: Google, previously also Mozilla

You should also know that... Can't think of anything.

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

Discussions

2020-12-07

Minutes

Elika:

... CSS3 text is like a collection of separate side dishes...

... From the CSS system point of view, terminology section is most interesting. Features listed in the review are the most interesting

.. Terminology gives names to a bunch of concepts which have always existed in CSS.

... the features mentioned in the comment are what's changing in this version.

... They are shipping in several implementations (some with prefixes), definitions of what they mean is pretty clear to CSSWG, just giving names to behaviour you could access in CSS2; previously height access didn't have any varying behaviour. TAG would be unlikely to be interested in that. Probably only interested in interaction between replaced elements and these things.

... replaced elements are external to the document, transferring info to doc about themselves (e.g. sizing info); that's the interface between CSS and other tech. Most of the spec doesn't need TAG review, but TAG is in the loop on everything.

... Some questions that might go into a CSS-specific review template:

  • Why did you write this spec (what prompted the features in it)?
  • If you were the TAG, which sections would you focus on?

Peter: Explanations like this one are helpful not only for TAG, but also for other horizontal reviews and newcomers to CSSWG.

Elika: Snapshot gives an overview. ...

Peter: Web developer is better served by the snapshot. Someone joining CSSWG needs more context ...

Elika: If people want to get involved, they can start filing issues... then we can provide context on the issue. Pre-emptively generating that context isn't scalable.

Peter: Could we on CSSWG have some process going forward to make this process easier, without Elika needing to personally write explainers for every single feature?

Elika: Issues also linked to commit logs... you do have to go dig, though. Alternative is to have us write continuous status reports... and we already give more context on commits than most WGs.

2021-01-Kronos

Minutes

Rossen: (summarizing CSSWG/TAG reviews, explainers etc.)

Peter: The changes section looks good. What was missed by the original list of added features is box-sizing and to be fair this dates way back to the 90's so it's fine.

Rossen: Ack. Leaving comment and closing then.