W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [css-sizing] Adding a 'size' shorthand for 'width'/'height'

From: inoas via GitHub <sysbot+gh@w3.org>
Date: Fri, 23 Dec 2016 13:25:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-268989366-1482499531-sysbot+gh@w3.org>
@Crissov then the rule would be whatever is set as a property (with 
the same or higher specificity, obviously) overwrites each other? E.g.
 would this hold true?

```css
div {
  dimensions: 100px 200px; /* width: 100px, height 200px */
  width: 50px;  /* width: 50px, height: 200px */
  dimensions: 100px; /* width: 100px, height: 200px */

  /* Related / Off-Topic: */
  dimensions: 100px aspect-ratio(calc(9/16)); /* width: 100px, height:
 56.26px */
}
```



-- 
GitHub Notification of comment by inoas
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/820#issuecomment-268989366 
using your GitHub account
Received on Friday, 23 December 2016 13:25:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC