w3c/csswg-drafts

[css-sizing-3] Illustrate the Sizing Spec

Open

#1938 aperta il 5 nov 2017

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)HTML (545 fork)batch import
Help Wantedcss-sizing-3

Metriche repository

Star
 (3546 star)
Metriche merge PR
 (Merge medio 87g 7h) (24 PR mergiate in 30 g)

Descrizione

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.)

Guida contributor