{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1761","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1761/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1761/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1761/events","html_url":"https://github.com/Polymer/polymer/issues/1761","id":85635623,"number":1761,"title":"styling: using var() splits a rule in two with different specificities, causes problems with shorthands","user":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/p2","name":"p2","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"sorvell","id":78891,"avatar_url":"https://avatars.githubusercontent.com/u/78891?v=3","gravatar_id":"","url":"https://api.github.com/users/sorvell","html_url":"https://github.com/sorvell","followers_url":"https://api.github.com/users/sorvell/followers","following_url":"https://api.github.com/users/sorvell/following{/other_user}","gists_url":"https://api.github.com/users/sorvell/gists{/gist_id}","starred_url":"https://api.github.com/users/sorvell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorvell/subscriptions","organizations_url":"https://api.github.com/users/sorvell/orgs","repos_url":"https://api.github.com/users/sorvell/repos","events_url":"https://api.github.com/users/sorvell/events{/privacy}","received_events_url":"https://api.github.com/users/sorvell/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-05T21:20:51Z","updated_at":"2015-06-25T00:39:55Z","closed_at":"2015-06-25T00:39:55Z","body":"```css\r\n* {\r\n  --border-color: blue;\r\n}\r\nfoo {\r\n  border: solid var(--border-color);\r\n  border-width: 1px 0;\r\n}\r\n```\r\n\r\ngets split into:\r\n\r\n```css\r\n.my-host-0 foo.my-host {\r\n  border: solid blue;\r\n}\r\nfoo.my-host {\r\n  border-width: 1px 0;\r\n}\r\n```\r\n\r\nBecause `.my-host-0 foo.my-host` has higher specificity than `foo.my-host` the `border-width` property is overridden by the shorthand `border` property. In this example this results in the border width being the default from the user style sheet (3px)."},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/115055688","html_url":"https://github.com/Polymer/polymer/issues/1761#issuecomment-115055688","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1761","id":115055688,"user":{"login":"sorvell","id":78891,"avatar_url":"https://avatars.githubusercontent.com/u/78891?v=3","gravatar_id":"","url":"https://api.github.com/users/sorvell","html_url":"https://github.com/sorvell","followers_url":"https://api.github.com/users/sorvell/followers","following_url":"https://api.github.com/users/sorvell/following{/other_user}","gists_url":"https://api.github.com/users/sorvell/gists{/gist_id}","starred_url":"https://api.github.com/users/sorvell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorvell/subscriptions","organizations_url":"https://api.github.com/users/sorvell/orgs","repos_url":"https://api.github.com/users/sorvell/repos","events_url":"https://api.github.com/users/sorvell/events{/privacy}","received_events_url":"https://api.github.com/users/sorvell/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T00:39:55Z","updated_at":"2015-06-25T00:39:55Z","body":"Fixed via https://github.com/Polymer/polymer/pull/1948"}}