{"action":"opened","number":1337,"pull_request":{"url":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337","id":55036099,"html_url":"https://github.com/tmpvar/jsdom/pull/1337","diff_url":"https://github.com/tmpvar/jsdom/pull/1337.diff","patch_url":"https://github.com/tmpvar/jsdom/pull/1337.patch","issue_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1337","number":1337,"state":"open","locked":false,"title":"Allow style changes using shorthands to set all the sub-styles properly","user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"body":"This pull request resolves issue #1241.  To test, use\r\n\r\n```\r\nvar jsdom = require(\"jsdom\").jsdom;\r\nvar doc = jsdom(\"\");\r\nvar el = doc.createElement(\"div\");\r\nel.style.border = \"1px solid black\";\r\nconsole.log(el.style.border);          // should be \"1px solid black\"\r\nconsole.log(el.style.cssText);         // should be  \"border: 1px solid black\"\r\nconsole.log(el.outerHTML);             // should be '<div style=\"border: 1px solid black\"></div>'\r\nel.style = \"border: 1px solid black\";\r\nconsole.log(el.style.border);          // should be \"1px solid black\"\r\nconsole.log(el.style.cssText);         // should be  \"border: 1px solid black\"\r\nconsole.log(el.outerHTML);             // should be '<div style=\"border: 1px solid black\"></div>'\r\n```\r\n\r\nWithout the patch the border would be reported as just `black` rather than `1px solid black`.","created_at":"2016-01-04T23:20:07Z","updated_at":"2016-01-04T23:20:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337/commits","review_comments_url":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337/comments","review_comment_url":"https://api.github.com/repos/tmpvar/jsdom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1337/comments","statuses_url":"https://api.github.com/repos/tmpvar/jsdom/statuses/31d99432ee2ae9d340c82ec6339f49f6b12a5f05","head":{"label":"dpvc:patch-style","ref":"patch-style","sha":"31d99432ee2ae9d340c82ec6339f49f6b12a5f05","user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"repo":{"id":49028804,"name":"jsdom","full_name":"dpvc/jsdom","owner":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dpvc/jsdom","description":"A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js","fork":true,"url":"https://api.github.com/repos/dpvc/jsdom","forks_url":"https://api.github.com/repos/dpvc/jsdom/forks","keys_url":"https://api.github.com/repos/dpvc/jsdom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpvc/jsdom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpvc/jsdom/teams","hooks_url":"https://api.github.com/repos/dpvc/jsdom/hooks","issue_events_url":"https://api.github.com/repos/dpvc/jsdom/issues/events{/number}","events_url":"https://api.github.com/repos/dpvc/jsdom/events","assignees_url":"https://api.github.com/repos/dpvc/jsdom/assignees{/user}","branches_url":"https://api.github.com/repos/dpvc/jsdom/branches{/branch}","tags_url":"https://api.github.com/repos/dpvc/jsdom/tags","blobs_url":"https://api.github.com/repos/dpvc/jsdom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpvc/jsdom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpvc/jsdom/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpvc/jsdom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpvc/jsdom/statuses/{sha}","languages_url":"https://api.github.com/repos/dpvc/jsdom/languages","stargazers_url":"https://api.github.com/repos/dpvc/jsdom/stargazers","contributors_url":"https://api.github.com/repos/dpvc/jsdom/contributors","subscribers_url":"https://api.github.com/repos/dpvc/jsdom/subscribers","subscription_url":"https://api.github.com/repos/dpvc/jsdom/subscription","commits_url":"https://api.github.com/repos/dpvc/jsdom/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpvc/jsdom/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpvc/jsdom/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpvc/jsdom/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpvc/jsdom/contents/{+path}","compare_url":"https://api.github.com/repos/dpvc/jsdom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpvc/jsdom/merges","archive_url":"https://api.github.com/repos/dpvc/jsdom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpvc/jsdom/downloads","issues_url":"https://api.github.com/repos/dpvc/jsdom/issues{/number}","pulls_url":"https://api.github.com/repos/dpvc/jsdom/pulls{/number}","milestones_url":"https://api.github.com/repos/dpvc/jsdom/milestones{/number}","notifications_url":"https://api.github.com/repos/dpvc/jsdom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpvc/jsdom/labels{/name}","releases_url":"https://api.github.com/repos/dpvc/jsdom/releases{/id}","created_at":"2016-01-04T23:07:33Z","updated_at":"2016-01-04T23:07:35Z","pushed_at":"2016-01-04T23:19:32Z","git_url":"git://github.com/dpvc/jsdom.git","ssh_url":"git@github.com:dpvc/jsdom.git","clone_url":"https://github.com/dpvc/jsdom.git","svn_url":"https://github.com/dpvc/jsdom","homepage":"","size":10584,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tmpvar:master","ref":"master","sha":"67dbb658277dd979521b308c58de05d100962930","user":{"login":"tmpvar","id":46673,"avatar_url":"https://avatars.githubusercontent.com/u/46673?v=3","gravatar_id":"","url":"https://api.github.com/users/tmpvar","html_url":"https://github.com/tmpvar","followers_url":"https://api.github.com/users/tmpvar/followers","following_url":"https://api.github.com/users/tmpvar/following{/other_user}","gists_url":"https://api.github.com/users/tmpvar/gists{/gist_id}","starred_url":"https://api.github.com/users/tmpvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmpvar/subscriptions","organizations_url":"https://api.github.com/users/tmpvar/orgs","repos_url":"https://api.github.com/users/tmpvar/repos","events_url":"https://api.github.com/users/tmpvar/events{/privacy}","received_events_url":"https://api.github.com/users/tmpvar/received_events","type":"User","site_admin":false},"repo":{"id":478584,"name":"jsdom","full_name":"tmpvar/jsdom","owner":{"login":"tmpvar","id":46673,"avatar_url":"https://avatars.githubusercontent.com/u/46673?v=3","gravatar_id":"","url":"https://api.github.com/users/tmpvar","html_url":"https://github.com/tmpvar","followers_url":"https://api.github.com/users/tmpvar/followers","following_url":"https://api.github.com/users/tmpvar/following{/other_user}","gists_url":"https://api.github.com/users/tmpvar/gists{/gist_id}","starred_url":"https://api.github.com/users/tmpvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmpvar/subscriptions","organizations_url":"https://api.github.com/users/tmpvar/orgs","repos_url":"https://api.github.com/users/tmpvar/repos","events_url":"https://api.github.com/users/tmpvar/events{/privacy}","received_events_url":"https://api.github.com/users/tmpvar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmpvar/jsdom","description":"A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js","fork":false,"url":"https://api.github.com/repos/tmpvar/jsdom","forks_url":"https://api.github.com/repos/tmpvar/jsdom/forks","keys_url":"https://api.github.com/repos/tmpvar/jsdom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmpvar/jsdom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmpvar/jsdom/teams","hooks_url":"https://api.github.com/repos/tmpvar/jsdom/hooks","issue_events_url":"https://api.github.com/repos/tmpvar/jsdom/issues/events{/number}","events_url":"https://api.github.com/repos/tmpvar/jsdom/events","assignees_url":"https://api.github.com/repos/tmpvar/jsdom/assignees{/user}","branches_url":"https://api.github.com/repos/tmpvar/jsdom/branches{/branch}","tags_url":"https://api.github.com/repos/tmpvar/jsdom/tags","blobs_url":"https://api.github.com/repos/tmpvar/jsdom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmpvar/jsdom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmpvar/jsdom/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmpvar/jsdom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmpvar/jsdom/statuses/{sha}","languages_url":"https://api.github.com/repos/tmpvar/jsdom/languages","stargazers_url":"https://api.github.com/repos/tmpvar/jsdom/stargazers","contributors_url":"https://api.github.com/repos/tmpvar/jsdom/contributors","subscribers_url":"https://api.github.com/repos/tmpvar/jsdom/subscribers","subscription_url":"https://api.github.com/repos/tmpvar/jsdom/subscription","commits_url":"https://api.github.com/repos/tmpvar/jsdom/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmpvar/jsdom/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmpvar/jsdom/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmpvar/jsdom/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmpvar/jsdom/contents/{+path}","compare_url":"https://api.github.com/repos/tmpvar/jsdom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmpvar/jsdom/merges","archive_url":"https://api.github.com/repos/tmpvar/jsdom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmpvar/jsdom/downloads","issues_url":"https://api.github.com/repos/tmpvar/jsdom/issues{/number}","pulls_url":"https://api.github.com/repos/tmpvar/jsdom/pulls{/number}","milestones_url":"https://api.github.com/repos/tmpvar/jsdom/milestones{/number}","notifications_url":"https://api.github.com/repos/tmpvar/jsdom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmpvar/jsdom/labels{/name}","releases_url":"https://api.github.com/repos/tmpvar/jsdom/releases{/id}","created_at":"2010-01-19T06:55:19Z","updated_at":"2016-01-04T22:07:34Z","pushed_at":"2016-01-04T23:20:07Z","git_url":"git://github.com/tmpvar/jsdom.git","ssh_url":"git@github.com:tmpvar/jsdom.git","clone_url":"https://github.com/tmpvar/jsdom.git","svn_url":"https://github.com/tmpvar/jsdom","homepage":"","size":12310,"stargazers_count":5187,"watchers_count":5187,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":580,"mirror_url":null,"open_issues_count":117,"forks":580,"open_issues":117,"watchers":5187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337"},"html":{"href":"https://github.com/tmpvar/jsdom/pull/1337"},"issue":{"href":"https://api.github.com/repos/tmpvar/jsdom/issues/1337"},"comments":{"href":"https://api.github.com/repos/tmpvar/jsdom/issues/1337/comments"},"review_comments":{"href":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337/comments"},"review_comment":{"href":"https://api.github.com/repos/tmpvar/jsdom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tmpvar/jsdom/pulls/1337/commits"},"statuses":{"href":"https://api.github.com/repos/tmpvar/jsdom/statuses/31d99432ee2ae9d340c82ec6339f49f6b12a5f05"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":2,"deletions":0,"changed_files":1}}