{"action":"created","issue":{"url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/17","labels_url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/17/comments","events_url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/17/events","html_url":"https://github.com/KenjiBaheux/css-font-rendering/issues/17","id":57236943,"number":17,"title":"Default to 'swap' in supporting browsers","user":{"login":"scottjehl","id":214783,"avatar_url":"https://avatars.githubusercontent.com/u/214783?v=3","gravatar_id":"","url":"https://api.github.com/users/scottjehl","html_url":"https://github.com/scottjehl","followers_url":"https://api.github.com/users/scottjehl/followers","following_url":"https://api.github.com/users/scottjehl/following{/other_user}","gists_url":"https://api.github.com/users/scottjehl/gists{/gist_id}","starred_url":"https://api.github.com/users/scottjehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottjehl/subscriptions","organizations_url":"https://api.github.com/users/scottjehl/orgs","repos_url":"https://api.github.com/users/scottjehl/repos","events_url":"https://api.github.com/users/scottjehl/events{/privacy}","received_events_url":"https://api.github.com/users/scottjehl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-10T21:09:37Z","updated_at":"2015-02-10T21:19:30Z","closed_at":null,"body":"As a developer who has spent far too much time working around browsers’ default behavior of hiding text while fonts load, and as a user who regularly experiences the problem, I love the sound of this proposal. It's simple and definitely preferable to the JavaScript alternatives.\r\n\r\nHowever, I would propose that `swap` is a more expected and consistent default to recommend for browsers that support the `font-rendering` property, as opposed to `auto`, which seems to endorse the status quo of hiding page content while fonts load (for 3 seconds or sometimes more. Except in IE, which gets this one right). \r\n\r\nHiding text from the user, even for a short time like 3 seconds, is an odd behavior to encourage when we're actively advocating that sites should render [in less than half that time](http://timkadlec.com/2014/01/fast-enough/#comment-1200946500). There are probably cases where a custom typeface is so important that the content should not be available to the user without it, but that seems like the exception.\r\n\r\nBy defaulting to `swap`, developers would need to opt-in to text-hiding in the cases where it is necessary, knowing that otherwise fonts will load in a non-render-blocking manner. \r\n\r\nThanks for considering!"},"comment":{"url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/comments/73785791","html_url":"https://github.com/KenjiBaheux/css-font-rendering/issues/17#issuecomment-73785791","issue_url":"https://api.github.com/repos/KenjiBaheux/css-font-rendering/issues/17","id":73785791,"user":{"login":"josiahsprague","id":516388,"avatar_url":"https://avatars.githubusercontent.com/u/516388?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahsprague","html_url":"https://github.com/josiahsprague","followers_url":"https://api.github.com/users/josiahsprague/followers","following_url":"https://api.github.com/users/josiahsprague/following{/other_user}","gists_url":"https://api.github.com/users/josiahsprague/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahsprague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahsprague/subscriptions","organizations_url":"https://api.github.com/users/josiahsprague/orgs","repos_url":"https://api.github.com/users/josiahsprague/repos","events_url":"https://api.github.com/users/josiahsprague/events{/privacy}","received_events_url":"https://api.github.com/users/josiahsprague/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T21:19:29Z","updated_at":"2015-02-10T21:19:29Z","body":":+1:"}}