{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/3510","repository_url":"https://api.github.com/repos/whatwg/html","labels_url":"https://api.github.com/repos/whatwg/html/issues/3510/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/3510/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/3510/events","html_url":"https://github.com/whatwg/html/issues/3510","id":300393126,"number":3510,"title":"Make img.width/height handle dimensionless images better","user":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars0.githubusercontent.com/u/682840?v=4","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":575653461,"url":"https://api.github.com/repos/whatwg/html/labels/needs%20compat%20analysis","name":"needs compat analysis","color":"0052cc","default":false},{"id":257427609,"url":"https://api.github.com/repos/whatwg/html/labels/needs%20implementer%20interest","name":"needs implementer interest","color":"5319e7","default":false},{"id":255177504,"url":"https://api.github.com/repos/whatwg/html/labels/normative%20change","name":"normative change","color":"207de5","default":false},{"id":404941749,"url":"https://api.github.com/repos/whatwg/html/labels/topic:%20img","name":"topic: img","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-26T20:57:34Z","updated_at":"2018-02-27T21:59:04Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, the `.width` and `.height` attributes of `HTMLImageElement` take on the value `0` when the image doesn't have an intrinsic width/height.  This is unfortunate, because images can *actually* have a zero intrinsic width/height, and you can't tell the difference between these two states.  (It's also just generally a bad practice to use a sentinel value like this.)\r\n\r\nFor Typed OM level 2, when I expose the intrinsic sizes of images, I want to mostly match up with HTML, but am planning on making the attributes nullable instead, so that a number indicates the actual intrinsic size, and `null` means no size in that axis.  CSS has a lot more stretchy images.\r\n\r\nIn <https://github.com/w3c/css-houdini-drafts/issues/714#issuecomment-368219765>, @annevk wonders if we could make this change for HTML as well."},"comment":{"url":"https://api.github.com/repos/whatwg/html/issues/comments/369041463","html_url":"https://github.com/whatwg/html/issues/3510#issuecomment-369041463","issue_url":"https://api.github.com/repos/whatwg/html/issues/3510","id":369041463,"user":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars0.githubusercontent.com/u/682840?v=4","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},"created_at":"2018-02-27T21:59:04Z","updated_at":"2018-02-27T21:59:04Z","author_association":"COLLABORATOR","body":"Sorry, yeah. Will amend."}}
{"actor":{"display_login":"tabatkins"}}