{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/820","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/820/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/820/events","html_url":"https://github.com/w3c/csswg-drafts/issues/820","id":196532059,"number":820,"title":"[css-sizing] Adding a 'size' shorthand for 'width'/'height'","user":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},"labels":[{"id":381891493,"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/css-sizing-4","name":"css-sizing-4","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},"assignees":[{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},{"login":"fantasai","id":725717,"avatar_url":"https://avatars.githubusercontent.com/u/725717?v=3","gravatar_id":"","url":"https://api.github.com/users/fantasai","html_url":"https://github.com/fantasai","followers_url":"https://api.github.com/users/fantasai/followers","following_url":"https://api.github.com/users/fantasai/following{/other_user}","gists_url":"https://api.github.com/users/fantasai/gists{/gist_id}","starred_url":"https://api.github.com/users/fantasai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantasai/subscriptions","organizations_url":"https://api.github.com/users/fantasai/orgs","repos_url":"https://api.github.com/users/fantasai/repos","events_url":"https://api.github.com/users/fantasai/events{/privacy}","received_events_url":"https://api.github.com/users/fantasai/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-12-19T22:02:38Z","updated_at":"2016-12-23T15:24:06Z","closed_at":null,"body":"Many people thruout the years have requested a 'size' property as a shorthand for 'width' and 'height', for the common cases when you want to set them both to the same value.  (Either making the element square, or making it a similar rectangle to the containing block with percentages, or using the same keyword for both.)\r\n\r\nThis seems mildly useful, but it has a naming problem - the @page rule already has a 'size' property, and it's *not* a shorthand for the 'width' and 'height' properties @page also has. ('size' sets the size of the margin box, while 'width' and 'height' set the content box.)\r\n\r\nOther suggestions for names?"},"comment":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/comments/269005008","html_url":"https://github.com/w3c/csswg-drafts/issues/820#issuecomment-269005008","issue_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/820","id":269005008,"user":{"login":"Crissov","id":6200185,"avatar_url":"https://avatars.githubusercontent.com/u/6200185?v=3","gravatar_id":"","url":"https://api.github.com/users/Crissov","html_url":"https://github.com/Crissov","followers_url":"https://api.github.com/users/Crissov/followers","following_url":"https://api.github.com/users/Crissov/following{/other_user}","gists_url":"https://api.github.com/users/Crissov/gists{/gist_id}","starred_url":"https://api.github.com/users/Crissov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crissov/subscriptions","organizations_url":"https://api.github.com/users/Crissov/orgs","repos_url":"https://api.github.com/users/Crissov/repos","events_url":"https://api.github.com/users/Crissov/events{/privacy}","received_events_url":"https://api.github.com/users/Crissov/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T15:24:06Z","updated_at":"2016-12-23T15:24:06Z","body":"I'd say that a single length makes the box square -- assuming 1:1 is the default aspect ratio that the shorthand resets to: \n100px * 200px @ 1:2 --> 50px * 200px or 50px * 100px --> 100px * 100px.\n\nIt could also keep the current AR, hence \n100px * 200px --> 50px * 200px --> 100px * 400px.\n\nAlas, then `width` before should do, too, i.e. \n100px * 200px @ 1:2 --> 50px * 100px --> 100px * 400px. \n\nOtherwise, yes `box` and `box-size` would work like other shorthand properties. The WG would decide the most useful and compatible approach."}}
{"actor":{"display_login":"Crissov"}}