{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/18191","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/18191/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/18191/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/18191/events","html_url":"https://github.com/twbs/bootstrap/pull/18191","id":115575638,"number":18191,"title":"Fixed: IE and Edge round percentages too aggressively","user":{"login":"FremyCompany","id":364405,"avatar_url":"https://avatars.githubusercontent.com/u/364405?v=3","gravatar_id":"","url":"https://api.github.com/users/FremyCompany","html_url":"https://github.com/FremyCompany","followers_url":"https://api.github.com/users/FremyCompany/followers","following_url":"https://api.github.com/users/FremyCompany/following{/other_user}","gists_url":"https://api.github.com/users/FremyCompany/gists{/gist_id}","starred_url":"https://api.github.com/users/FremyCompany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FremyCompany/subscriptions","organizations_url":"https://api.github.com/users/FremyCompany/orgs","repos_url":"https://api.github.com/users/FremyCompany/repos","events_url":"https://api.github.com/users/FremyCompany/events{/privacy}","received_events_url":"https://api.github.com/users/FremyCompany/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/browser%20bug","name":"browser bug","color":"00abe1"},{"url":"https://api.github.com/repos/twbs/bootstrap/labels/css","name":"css","color":"563d7c"},{"url":"https://api.github.com/repos/twbs/bootstrap/labels/v3","name":"v3","color":"d9534f"},{"url":"https://api.github.com/repos/twbs/bootstrap/labels/v4","name":"v4","color":"563d7c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-06T19:54:55Z","updated_at":"2015-11-11T07:19:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/18191","html_url":"https://github.com/twbs/bootstrap/pull/18191","diff_url":"https://github.com/twbs/bootstrap/pull/18191.diff","patch_url":"https://github.com/twbs/bootstrap/pull/18191.patch"},"body":"Hi,\r\n\r\nI'm a Layout PM of the Edge team and I recently detected a defect in our engine which affects a (probably very) small amount of websites using Bootstrap.\r\n\r\nWhile the bug is general and probably worth fixing anyway, I figured out you may be interested in integrating a fix which will keep your users away from the issue. If so, feel free to do it. If not, this pull request will at least serve as a searchable reference in case anyone face this issue in the future.\r\n\r\n**The issue is related to how IE/Edge parses css percentages**. Percentage values like are seemingly floored to two decimals only `66.666667% = 66.66%`. In most cases, that doesn't affect the visual rendering if you stick to using percentages for your entire layout. Infrequently, some people seem to use pixel units in their layout and rely on those working for proper wrapping, which causes issues in IE/Edge.\r\n\r\nYou can see the issue here: http://codepen.io/anon/pen/WQavNy\r\n\r\n**The proposed fix is to avoid the CSS Parser for percentages** and to let browsers compute the right value directly using a calc expression like `calc(100% * 4 / 12)`. This has the nice advantage of being easily readable in the source code.\r\n\r\nYou can see the fix here: http://codepen.io/anon/pen/EVdjKa\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/comments/155690538","html_url":"https://github.com/twbs/bootstrap/pull/18191#issuecomment-155690538","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/18191","id":155690538,"user":{"login":"XhmikosR","id":349621,"avatar_url":"https://avatars.githubusercontent.com/u/349621?v=3","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T07:19:30Z","updated_at":"2015-11-11T07:19:30Z","body":"Is the issue present for IE8 too? Because v3 still supports that."}}