{"action":"closed","issue":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1675","labels_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1675/comments","events_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1675/events","html_url":"https://github.com/Modernizr/Modernizr/issues/1675","id":107893802,"number":1675,"title":"nth-child false negative","user":{"login":"mstrutt","id":1503138,"avatar_url":"https://avatars.githubusercontent.com/u/1503138?v=3","gravatar_id":"","url":"https://api.github.com/users/mstrutt","html_url":"https://github.com/mstrutt","followers_url":"https://api.github.com/users/mstrutt/followers","following_url":"https://api.github.com/users/mstrutt/following{/other_user}","gists_url":"https://api.github.com/users/mstrutt/gists{/gist_id}","starred_url":"https://api.github.com/users/mstrutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstrutt/subscriptions","organizations_url":"https://api.github.com/users/mstrutt/orgs","repos_url":"https://api.github.com/users/mstrutt/repos","events_url":"https://api.github.com/users/mstrutt/events{/privacy}","received_events_url":"https://api.github.com/users/mstrutt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-23T10:47:33Z","updated_at":"2015-11-16T05:12:35Z","closed_at":"2015-11-16T05:12:35Z","body":"I'm seeing a `no-nthchild` class added in browsers that support nth-child.\r\n\r\nNo errors in the console, but adding a breakpoint in to [line 35](https://github.com/Modernizr/Modernizr/blob/master/feature-detects/css/nthchild.js#L35) of that test reports the `offsetWidth` of each `div` to be `0` (should be `1` even if not supported).\r\n\r\nUsing the following build of modernizr: https://modernizr.com/download?flexbox-flexboxlegacy-flexboxtweener-flexwrap-nthchild-dontmin-setclasses-shiv\r\n\r\nTested: Chrome/Firefox latest on Ubuntu 15.04, IE11/Edge on Windows 10"}}