w3c/csswg-drafts

[css-sizing-3] Illustrate the Sizing Spec

Open

#1 938 ouverte le 5 nov. 2017

Voir sur GitHub
 (3 commentaires) (3 réactions) (0 assignés)HTML (545 forks)batch import
Help Wantedcss-sizing-3

Métriques du dépôt

Stars
 (3 546 stars)
Métriques de merge PR
 (Merge moyen 87j 7h) (24 PRs mergées en 30 j)

Description

The new sizing keywords are kindof important for authors, especially now that Flex and Grid make them more useful. It would be nice for the spec to have some illustrations.

Needed SVG diagrams:

  • size (e.g. a rectangle with arrows representing block size, inline size, width, height -- maybe abbreviated version of these ascii diagrams
  • inner size
  • outer size
  • stretch-fit size
  • max-content size
  • min-content size
  • fit-content size

(Aside from the first one, “size”, illustrating these for just the inline axis should be sufficient.)

Guide contributeur