{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2590","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2590/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2590/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2590/events","html_url":"https://github.com/w3c/csswg-drafts/issues/2590","id":314998503,"number":2590,"title":"[css-fonts-4] font-weight and calc.","user":{"login":"emilio","id":1323194,"avatar_url":"https://avatars1.githubusercontent.com/u/1323194?v=4","gravatar_id":"","url":"https://api.github.com/users/emilio","html_url":"https://github.com/emilio","followers_url":"https://api.github.com/users/emilio/followers","following_url":"https://api.github.com/users/emilio/following{/other_user}","gists_url":"https://api.github.com/users/emilio/gists{/gist_id}","starred_url":"https://api.github.com/users/emilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilio/subscriptions","organizations_url":"https://api.github.com/users/emilio/orgs","repos_url":"https://api.github.com/users/emilio/repos","events_url":"https://api.github.com/users/emilio/events{/privacy}","received_events_url":"https://api.github.com/users/emilio/received_events","type":"User","site_admin":false},"labels":[{"id":381889080,"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/css-fonts-4","name":"css-fonts-4","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-17T10:27:06Z","updated_at":"2018-04-17T14:52:15Z","closed_at":"2018-04-17T14:52:14Z","author_association":"COLLABORATOR","body":"This is just a request for clarification.\r\n\r\nhttps://drafts.csswg.org/css-fonts-4/#font-weight-numeric-values says:\r\n\r\n> Only values greater than or equal to 1, and less than or equal to 1000, are valid, and all other values are treated as parse errors.\r\n\r\nThis doesn't say how to handle calc(), but per my reading of previous discussions the expected behavior is that `font-weight: calc(-1)` is _not_ a parse error, and it gets clamped at computed value time.\r\n\r\nHowever no UA does this AFAICT. Am I right that that's the expected behavior? Or should we give up on not making calc() for numeric values out of range be a parse error?"}}
{"actor":{"display_login":"emilio"}}