{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/2662","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/2662/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/2662/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/2662/events","html_url":"https://github.com/Polymer/polymer/pull/2662","id":114438780,"number":2662,"title":"Fix parsing of custom properties with 'var' in value","user":{"login":"JeremybellEU","id":5948271,"avatar_url":"https://avatars.githubusercontent.com/u/5948271?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremybellEU","html_url":"https://github.com/JeremybellEU","followers_url":"https://api.github.com/users/JeremybellEU/followers","following_url":"https://api.github.com/users/JeremybellEU/following{/other_user}","gists_url":"https://api.github.com/users/JeremybellEU/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremybellEU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremybellEU/subscriptions","organizations_url":"https://api.github.com/users/JeremybellEU/orgs","repos_url":"https://api.github.com/users/JeremybellEU/repos","events_url":"https://api.github.com/users/JeremybellEU/events{/privacy}","received_events_url":"https://api.github.com/users/JeremybellEU/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"azakus","id":46725,"avatar_url":"https://avatars.githubusercontent.com/u/46725?v=3","gravatar_id":"","url":"https://api.github.com/users/azakus","html_url":"https://github.com/azakus","followers_url":"https://api.github.com/users/azakus/followers","following_url":"https://api.github.com/users/azakus/following{/other_user}","gists_url":"https://api.github.com/users/azakus/gists{/gist_id}","starred_url":"https://api.github.com/users/azakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakus/subscriptions","organizations_url":"https://api.github.com/users/azakus/orgs","repos_url":"https://api.github.com/users/azakus/repos","events_url":"https://api.github.com/users/azakus/events{/privacy}","received_events_url":"https://api.github.com/users/azakus/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-31T22:47:07Z","updated_at":"2015-11-04T22:35:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Polymer/polymer/pulls/2662","html_url":"https://github.com/Polymer/polymer/pull/2662","diff_url":"https://github.com/Polymer/polymer/pull/2662.diff","patch_url":"https://github.com/Polymer/polymer/pull/2662.patch"},"body":"(Note: the newline 'changes' are solved after #2484)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5948271/10866321/a005e78c-8029-11e5-8d6d-0ebbeb60c1a1.png)\r\n\r\nThe screenshot shows the new behaviour. It only consumes lines with\r\n`<css-property-name>:<anything not a ;>var(<anything not a ;>)<optional ; and \\n>`\r\n\r\n* It leaves the first line which was the original issue.\r\n* It consumes the second line, which is a var assignment\r\n* It consumes the third line which is preceded with a var assignment\r\n* It leaves the fourth line, a property between assignments\r\n* It consumes the whole fifth line, which does not have a new line between the two variable assignments\r\n* It consumes the second part of the sixth line, which does not have a new line between the custom property and the variable assignment\r\n* It consumes the first part of the seventh line, which does not have a new line between the variable assignment and the custom property\r\n\r\nFixes #2660 \r\n"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/153891538","html_url":"https://github.com/Polymer/polymer/pull/2662#issuecomment-153891538","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/2662","id":153891538,"user":{"login":"azakus","id":46725,"avatar_url":"https://avatars.githubusercontent.com/u/46725?v=3","gravatar_id":"","url":"https://api.github.com/users/azakus","html_url":"https://github.com/azakus","followers_url":"https://api.github.com/users/azakus/followers","following_url":"https://api.github.com/users/azakus/following{/other_user}","gists_url":"https://api.github.com/users/azakus/gists{/gist_id}","starred_url":"https://api.github.com/users/azakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakus/subscriptions","organizations_url":"https://api.github.com/users/azakus/orgs","repos_url":"https://api.github.com/users/azakus/repos","events_url":"https://api.github.com/users/azakus/events{/privacy}","received_events_url":"https://api.github.com/users/azakus/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T22:35:36Z","updated_at":"2015-11-04T22:35:36Z","body":"LGTM"}}