{"action":"closed","issue":{"url":"https://api.github.com/repos/servo/servo/issues/12959","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/12959/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/12959/comments","events_url":"https://api.github.com/repos/servo/servo/issues/12959/events","html_url":"https://github.com/servo/servo/issues/12959","id":172300184,"number":12959,"title":"Track only the number of important declarations in a declaration block","user":{"login":"emilio","id":1323194,"avatar_url":"https://avatars.githubusercontent.com/u/1323194?v=3","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":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/css","name":"A-content/css","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/C-assigned","name":"C-assigned","color":"02d7e1"},{"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-21T01:55:21Z","updated_at":"2016-08-22T14:37:45Z","closed_at":"2016-08-22T14:37:45Z","body":"Once #12943 lands, `DeclarationBlock` will have two fields, `normal_count` and `important_count` that track the amount of declarations with a given priority are in that block.\r\n\r\nWe should be able to remove one of the two fields, and compute the other one in terms of the length of the `declarations` vector and the other, simplifying the code that computes it.\r\n\r\nCode:\r\n\r\n * `components/style/properties/properties.mako.rs`\r\n\r\nTests:\r\n\r\n * No need to write new ones, the existing tests should cover it. You'll have to modify `test/units/style` to take the change into account."}}
{"actor":{"display_login":"bors-servo"}}