I'd say that a single length makes the box square -- assuming 1:1 is the default aspect ratio that the shorthand resets to: 100px * 200px @ 1:2 --> 50px * 200px or 50px * 100px --> 100px * 100px. It could also keep the current AR, hence 100px * 200px --> 50px * 200px --> 100px * 400px. Alas, then `width` before should do, too, i.e. 100px * 200px @ 1:2 --> 50px * 100px --> 100px * 400px. Otherwise, yes `box` and `box-size` would work like other shorthand properties. The WG would decide the most useful and compatible approach. -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/820#issuecomment-269005008 using your GitHub accountReceived on Friday, 23 December 2016 15:24:09 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:06 UTC