{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/8201","labels_url":"https://api.github.com/repos/guardian/frontend/issues/8201/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/8201/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/8201/events","html_url":"https://github.com/guardian/frontend/pull/8201","id":56681537,"number":8201,"title":"Do not trigger layout when querying breakpoint (getBreakpoint)","user":{"login":"robertberry","id":1001642,"avatar_url":"https://avatars.githubusercontent.com/u/1001642?v=3","gravatar_id":"","url":"https://api.github.com/users/robertberry","html_url":"https://github.com/robertberry","followers_url":"https://api.github.com/users/robertberry/followers","following_url":"https://api.github.com/users/robertberry/following{/other_user}","gists_url":"https://api.github.com/users/robertberry/gists{/gist_id}","starred_url":"https://api.github.com/users/robertberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertberry/subscriptions","organizations_url":"https://api.github.com/users/robertberry/orgs","repos_url":"https://api.github.com/users/robertberry/repos","events_url":"https://api.github.com/users/robertberry/events{/privacy}","received_events_url":"https://api.github.com/users/robertberry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T15:06:32Z","updated_at":"2015-02-05T19:01:12Z","closed_at":"2015-02-05T15:52:52Z","pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/8201","html_url":"https://github.com/guardian/frontend/pull/8201","diff_url":"https://github.com/guardian/frontend/pull/8201.diff","patch_url":"https://github.com/guardian/frontend/pull/8201.patch"},"body":"`window.getComputedStyle` triggers layout. A whole lot of different things use `getBreakpoint`, so this should give us a performance boost."},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/73105092","html_url":"https://github.com/guardian/frontend/pull/8201#issuecomment-73105092","issue_url":"https://api.github.com/repos/guardian/frontend/issues/8201","id":73105092,"user":{"login":"kaelig","id":85783,"avatar_url":"https://avatars.githubusercontent.com/u/85783?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelig","html_url":"https://github.com/kaelig","followers_url":"https://api.github.com/users/kaelig/followers","following_url":"https://api.github.com/users/kaelig/following{/other_user}","gists_url":"https://api.github.com/users/kaelig/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelig/subscriptions","organizations_url":"https://api.github.com/users/kaelig/orgs","repos_url":"https://api.github.com/users/kaelig/repos","events_url":"https://api.github.com/users/kaelig/events{/privacy}","received_events_url":"https://api.github.com/users/kaelig/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T19:01:12Z","updated_at":"2015-02-05T19:01:12Z","body":"Good catch, but in recent browsers it doesn't seem to trigger layout.\r\n\r\nI've ran\r\n\r\n```js\r\nsetInterval(function() { console.log(window.getComputedStyle(document.body, ':after').getPropertyValue('content')); }, 500);\r\n```\r\n\r\nAnd there is no trace of layout events in the timeline.\r\n\r\nDid you get different results?"}}