{"action":"created","comment":{"url":"https://api.github.com/repos/Polymer/docs/pulls/comments/184835121","pull_request_review_id":116116329,"id":184835121,"diff_hunk":"@@ -241,22 +263,27 @@ The custom element state isn't exposed as a property, but you can style elements\n whether they're defined or undefined.\n \n Elements in the \"custom\" and \"uncustomized\" state are considered \"defined\". In CSS you can use the\n-`:defined` pseudo-class selector to target elements that are defined. You can use this to provide\n-placeholder styles for elements before they're upgraded:\n+`:defined` pseudo-class selector to target elements that are defined. **In native shadow DOM**,\n+you can use this to provide placeholder styles for elements before they're upgraded:\n \n ```\n my-element:not(:defined) {\n   background-color: blue;\n }\n ```\n \n+**`:defined` is not supported by the Custom Elements polyfill.** See the [documentation on styling](style-shadow-dom#style-undefined-elements) for a workaround.","path":"app/3.0/docs/devguide/custom-elements.md","position":290,"original_position":290,"commit_id":"6bfc3b00047674b1344573b8eaa65913032abf14","original_commit_id":"6bfc3b00047674b1344573b8eaa65913032abf14","user":{"login":"katejeffreys","id":22203617,"avatar_url":"https://avatars3.githubusercontent.com/u/22203617?v=4","gravatar_id":"","url":"https://api.github.com/users/katejeffreys","html_url":"https://github.com/katejeffreys","followers_url":"https://api.github.com/users/katejeffreys/followers","following_url":"https://api.github.com/users/katejeffreys/following{/other_user}","gists_url":"https://api.github.com/users/katejeffreys/gists{/gist_id}","starred_url":"https://api.github.com/users/katejeffreys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katejeffreys/subscriptions","organizations_url":"https://api.github.com/users/katejeffreys/orgs","repos_url":"https://api.github.com/users/katejeffreys/repos","events_url":"https://api.github.com/users/katejeffreys/events{/privacy}","received_events_url":"https://api.github.com/users/katejeffreys/received_events","type":"User","site_admin":false},"body":"I put it back in https://github.com/Polymer/docs/pull/2476/commits/d9d4ff6473c85393def6d755d7745b661f3d9d63","created_at":"2018-04-28T01:32:19Z","updated_at":"2018-04-28T01:32:19Z","html_url":"https://github.com/Polymer/docs/pull/2540#discussion_r184835121","pull_request_url":"https://api.github.com/repos/Polymer/docs/pulls/2540","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Polymer/docs/pulls/comments/184835121"},"html":{"href":"https://github.com/Polymer/docs/pull/2540#discussion_r184835121"},"pull_request":{"href":"https://api.github.com/repos/Polymer/docs/pulls/2540"}},"in_reply_to_id":184600195},"pull_request":{"url":"https://api.github.com/repos/Polymer/docs/pulls/2540","id":184528293,"html_url":"https://github.com/Polymer/docs/pull/2540","diff_url":"https://github.com/Polymer/docs/pull/2540.diff","patch_url":"https://github.com/Polymer/docs/pull/2540.patch","issue_url":"https://api.github.com/repos/Polymer/docs/issues/2540","number":2540,"state":"open","locked":false,"title":"Custom elements updates, first cut.","user":{"login":"arthurevans","id":1149422,"avatar_url":"https://avatars2.githubusercontent.com/u/1149422?v=4","gravatar_id":"","url":"https://api.github.com/users/arthurevans","html_url":"https://github.com/arthurevans","followers_url":"https://api.github.com/users/arthurevans/followers","following_url":"https://api.github.com/users/arthurevans/following{/other_user}","gists_url":"https://api.github.com/users/arthurevans/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurevans/subscriptions","organizations_url":"https://api.github.com/users/arthurevans/orgs","repos_url":"https://api.github.com/users/arthurevans/repos","events_url":"https://api.github.com/users/arthurevans/events{/privacy}","received_events_url":"https://api.github.com/users/arthurevans/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-27T05:36:45Z","updated_at":"2018-04-28T01:32:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f35de1b706f113cdd5967d844379f25beb7a9ec","assignee":{"login":"katejeffreys","id":22203617,"avatar_url":"https://avatars3.githubusercontent.com/u/22203617?v=4","gravatar_id":"","url":"https://api.github.com/users/katejeffreys","html_url":"https://github.com/katejeffreys","followers_url":"https://api.github.com/users/katejeffreys/followers","following_url":"https://api.github.com/users/katejeffreys/following{/other_user}","gists_url":"https://api.github.com/users/katejeffreys/gists{/gist_id}","starred_url":"https://api.github.com/users/katejeffreys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katejeffreys/subscriptions","organizations_url":"https://api.github.com/users/katejeffreys/orgs","repos_url":"https://api.github.com/users/katejeffreys/repos","events_url":"https://api.github.com/users/katejeffreys/events{/privacy}","received_events_url":"https://api.github.com/users/katejeffreys/received_events","type":"User","site_admin":false},"assignees":[{"login":"katejeffreys","id":22203617,"avatar_url":"https://avatars3.githubusercontent.com/u/22203617?v=4","gravatar_id":"","url":"https://api.github.com/users/katejeffreys","html_url":"https://github.com/katejeffreys","followers_url":"https://api.github.com/users/katejeffreys/followers","following_url":"https://api.github.com/users/katejeffreys/following{/other_user}","gists_url":"https://api.github.com/users/katejeffreys/gists{/gist_id}","starred_url":"https://api.github.com/users/katejeffreys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katejeffreys/subscriptions","organizations_url":"https://api.github.com/users/katejeffreys/orgs","repos_url":"https://api.github.com/users/katejeffreys/repos","events_url":"https://api.github.com/users/katejeffreys/events{/privacy}","received_events_url":"https://api.github.com/users/katejeffreys/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"katejeffreys","id":22203617,"avatar_url":"https://avatars3.githubusercontent.com/u/22203617?v=4","gravatar_id":"","url":"https://api.github.com/users/katejeffreys","html_url":"https://github.com/katejeffreys","followers_url":"https://api.github.com/users/katejeffreys/followers","following_url":"https://api.github.com/users/katejeffreys/following{/other_user}","gists_url":"https://api.github.com/users/katejeffreys/gists{/gist_id}","starred_url":"https://api.github.com/users/katejeffreys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katejeffreys/subscriptions","organizations_url":"https://api.github.com/users/katejeffreys/orgs","repos_url":"https://api.github.com/users/katejeffreys/repos","events_url":"https://api.github.com/users/katejeffreys/events{/privacy}","received_events_url":"https://api.github.com/users/katejeffreys/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":88351244,"url":"https://api.github.com/repos/Polymer/docs/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Polymer/docs/pulls/2540/commits","review_comments_url":"https://api.github.com/repos/Polymer/docs/pulls/2540/comments","review_comment_url":"https://api.github.com/repos/Polymer/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Polymer/docs/issues/2540/comments","statuses_url":"https://api.github.com/repos/Polymer/docs/statuses/6bfc3b00047674b1344573b8eaa65913032abf14","head":{"label":"Polymer:3-0-custom-elements","ref":"3-0-custom-elements","sha":"6bfc3b00047674b1344573b8eaa65913032abf14","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":7804910,"name":"docs","full_name":"Polymer/docs","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/docs","description":"Documentation for Polymer","fork":false,"url":"https://api.github.com/repos/Polymer/docs","forks_url":"https://api.github.com/repos/Polymer/docs/forks","keys_url":"https://api.github.com/repos/Polymer/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/docs/teams","hooks_url":"https://api.github.com/repos/Polymer/docs/hooks","issue_events_url":"https://api.github.com/repos/Polymer/docs/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/docs/events","assignees_url":"https://api.github.com/repos/Polymer/docs/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/docs/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/docs/tags","blobs_url":"https://api.github.com/repos/Polymer/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/docs/languages","stargazers_url":"https://api.github.com/repos/Polymer/docs/stargazers","contributors_url":"https://api.github.com/repos/Polymer/docs/contributors","subscribers_url":"https://api.github.com/repos/Polymer/docs/subscribers","subscription_url":"https://api.github.com/repos/Polymer/docs/subscription","commits_url":"https://api.github.com/repos/Polymer/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/docs/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/docs/merges","archive_url":"https://api.github.com/repos/Polymer/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/docs/downloads","issues_url":"https://api.github.com/repos/Polymer/docs/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/docs/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/docs/releases{/id}","deployments_url":"https://api.github.com/repos/Polymer/docs/deployments","created_at":"2013-01-24T19:11:00Z","updated_at":"2018-04-28T00:02:17Z","pushed_at":"2018-04-28T01:31:30Z","git_url":"git://github.com/Polymer/docs.git","ssh_url":"git@github.com:Polymer/docs.git","clone_url":"https://github.com/Polymer/docs.git","svn_url":"https://github.com/Polymer/docs","homepage":"https://www.polymer-project.org","size":116987,"stargazers_count":1038,"watchers_count":1038,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2771,"mirror_url":null,"archived":false,"open_issues_count":104,"license":null,"forks":2771,"open_issues":104,"watchers":1038,"default_branch":"master"}},"base":{"label":"Polymer:master","ref":"master","sha":"8a33d5abe71f0f40121bd871845c2255cb485f53","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":7804910,"name":"docs","full_name":"Polymer/docs","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/docs","description":"Documentation for Polymer","fork":false,"url":"https://api.github.com/repos/Polymer/docs","forks_url":"https://api.github.com/repos/Polymer/docs/forks","keys_url":"https://api.github.com/repos/Polymer/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/docs/teams","hooks_url":"https://api.github.com/repos/Polymer/docs/hooks","issue_events_url":"https://api.github.com/repos/Polymer/docs/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/docs/events","assignees_url":"https://api.github.com/repos/Polymer/docs/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/docs/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/docs/tags","blobs_url":"https://api.github.com/repos/Polymer/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/docs/languages","stargazers_url":"https://api.github.com/repos/Polymer/docs/stargazers","contributors_url":"https://api.github.com/repos/Polymer/docs/contributors","subscribers_url":"https://api.github.com/repos/Polymer/docs/subscribers","subscription_url":"https://api.github.com/repos/Polymer/docs/subscription","commits_url":"https://api.github.com/repos/Polymer/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/docs/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/docs/merges","archive_url":"https://api.github.com/repos/Polymer/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/docs/downloads","issues_url":"https://api.github.com/repos/Polymer/docs/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/docs/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/docs/releases{/id}","deployments_url":"https://api.github.com/repos/Polymer/docs/deployments","created_at":"2013-01-24T19:11:00Z","updated_at":"2018-04-28T00:02:17Z","pushed_at":"2018-04-28T01:31:30Z","git_url":"git://github.com/Polymer/docs.git","ssh_url":"git@github.com:Polymer/docs.git","clone_url":"https://github.com/Polymer/docs.git","svn_url":"https://github.com/Polymer/docs","homepage":"https://www.polymer-project.org","size":116987,"stargazers_count":1038,"watchers_count":1038,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2771,"mirror_url":null,"archived":false,"open_issues_count":104,"license":null,"forks":2771,"open_issues":104,"watchers":1038,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polymer/docs/pulls/2540"},"html":{"href":"https://github.com/Polymer/docs/pull/2540"},"issue":{"href":"https://api.github.com/repos/Polymer/docs/issues/2540"},"comments":{"href":"https://api.github.com/repos/Polymer/docs/issues/2540/comments"},"review_comments":{"href":"https://api.github.com/repos/Polymer/docs/pulls/2540/comments"},"review_comment":{"href":"https://api.github.com/repos/Polymer/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Polymer/docs/pulls/2540/commits"},"statuses":{"href":"https://api.github.com/repos/Polymer/docs/statuses/6bfc3b00047674b1344573b8eaa65913032abf14"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"katejeffreys"}}