{"action":"created","issue":{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/654","labels_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/654/comments","events_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/654/events","html_url":"https://github.com/jakubpawlowicz/clean-css/issues/654","id":104128784,"number":654,"title":"Pixel (px) height getting converted to points (pt)","user":{"login":"kfitzgerald","id":250021,"avatar_url":"https://avatars.githubusercontent.com/u/250021?v=3","gravatar_id":"","url":"https://api.github.com/users/kfitzgerald","html_url":"https://github.com/kfitzgerald","followers_url":"https://api.github.com/users/kfitzgerald/followers","following_url":"https://api.github.com/users/kfitzgerald/following{/other_user}","gists_url":"https://api.github.com/users/kfitzgerald/gists{/gist_id}","starred_url":"https://api.github.com/users/kfitzgerald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfitzgerald/subscriptions","organizations_url":"https://api.github.com/users/kfitzgerald/orgs","repos_url":"https://api.github.com/users/kfitzgerald/repos","events_url":"https://api.github.com/users/kfitzgerald/events{/privacy}","received_events_url":"https://api.github.com/users/kfitzgerald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T20:33:12Z","updated_at":"2015-08-31T21:54:50Z","closed_at":null,"body":"Greetings!\r\n\r\nI just updated the dependencies for one of [my projects](https://github.com/okanjo/okanjo-js) and ran into this issue. I've got a pixel height in a pseudo-selector and it's getting converted into points. \r\n\r\nHere's a snippet of the affected css prior to minification:\r\n```css\r\n.okanjo-product-sidebar .okanjo-product:first-of-type {\r\n  height: 124px;\r\n  border-top: none;\r\n}\r\n```\r\n\r\nAnd here's the snippet after:\r\n```css\r\n.okanjo-product-sidebar .okanjo-product:first-of-type{height:93pt;border-top:none}\r\n```\r\n\r\nMy expected result is:\r\n```css\r\n.okanjo-product-sidebar .okanjo-product:first-of-type{height:124px;border-top:none}\r\n```\r\n\r\nIMHO, pixels and points are two completely different animals, and should not be interchangeable. This is very much undesirable functionality.\r\n\r\nAfter some digging, my current work around is to kill points as part of the compatibility config:\r\n```js\r\n{ compatibility: '*,-units.pt' }\r\n```\r\n\r\nBut I don't feel like I should have to do this. Seems more like a bug.\r\n\r\nFor reference, on my other machine where I did not experience this issue, my dependency graph is:\r\n* gulp-minify-css@1.0.0\r\n * clean-css@3.1.5\r\n    * commander@2.6.0\r\n    * source-map@0.1.43\r\n      * amdefine@0.1.0\r\n\r\nAnd my new machine where this issue is present, the dependency graph looks like this:\r\n * gulp-minify-css@1.2.1\r\n  * clean-css@3.4.1\r\n    * commander@2.8.1\r\n      * graceful-readlink@1.0.1\r\n  * source-map@0.4.4\r\n    * amdefine@1.0.0\r\n\r\nThanks!\r\n-Kevin"},"comment":{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/comments/136511923","html_url":"https://github.com/jakubpawlowicz/clean-css/issues/654#issuecomment-136511923","issue_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/654","id":136511923,"user":{"login":"jakubpawlowicz","id":24273,"avatar_url":"https://avatars.githubusercontent.com/u/24273?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubpawlowicz","html_url":"https://github.com/jakubpawlowicz","followers_url":"https://api.github.com/users/jakubpawlowicz/followers","following_url":"https://api.github.com/users/jakubpawlowicz/following{/other_user}","gists_url":"https://api.github.com/users/jakubpawlowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubpawlowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubpawlowicz/subscriptions","organizations_url":"https://api.github.com/users/jakubpawlowicz/orgs","repos_url":"https://api.github.com/users/jakubpawlowicz/repos","events_url":"https://api.github.com/users/jakubpawlowicz/events{/privacy}","received_events_url":"https://api.github.com/users/jakubpawlowicz/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T21:54:50Z","updated_at":"2015-08-31T21:54:50Z","body":"Do you experience any layout issues because of this change? According to MDN 4px is always 3pt: see https://developer.mozilla.org/en-US/docs/Web/CSS/length under \"CSS units and dots-per-inch\"."}}