{"action":"opened","issue":{"url":"https://api.github.com/repos/hayatoito/test/issues/120","labels_url":"https://api.github.com/repos/hayatoito/test/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/hayatoito/test/issues/120/comments","events_url":"https://api.github.com/repos/hayatoito/test/issues/120/events","html_url":"https://github.com/hayatoito/test/issues/120","id":80448771,"number":120,"title":"[Shadow]: Need to define what .styleSheets actually does on a shadow root (bugzilla: 27418)","user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hayatoito/test/labels/v1","name":"v1","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-25T08:30:36Z","updated_at":"2015-05-25T08:30:36Z","closed_at":null,"body":"Title: [Shadow]: Need to define what .styleSheets actually does on a shadow root (bugzilla: 27418)\n\nMigrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27418\nAssigned_to: *Dimitri Glazkov*\n\n----\ncomment: 0\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27418#c0\n*Boris Zbarsky* wrote on 2014-11-24 14:56:06 +0000.\n\nThe spec says:\n\n  On getting, the attribute must return a StyleSheetList sequence containing the\n  shadow root style sheets.\n\nThe term \"shadow root style sheets\" is not defined anywhere.  In fact, the string \"sheet\" does not appear anywhere else in this spec.\n\nThis needs to actually be defined, with particular attention to older shadow roots (e.g. do things in older shadow trees even load/parse their stylesheets?).\n\n----\n\ncomment: 1\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27418#c1\n*Boris Zbarsky* wrote on 2014-11-24 14:56:46 +0000.\n\nAnd in fact, https://bugzilla.mozilla.org/show_bug.cgi?id=1098270#c18 has at least one other case that should be considered.\n\n----\n\ncomment: 2\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27418#c2\n*William Chen* wrote on 2014-11-24 18:13:03 +0000.\n\nThere is already a bug for this: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850\n\n----\n\ncomment: 3\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27418#c3\n*Boris Zbarsky* wrote on 2014-11-24 19:22:46 +0000.\n\nThat's not the same bug.\n\nThere are two separate issues:\n\n1)  When do stylesheets get created for style/link elements?  That's bug 26850.\n\n2)  What appears in the shadow root's .styleSheets and in what order?  That's\n    this bug.\n\nFiguring out bug 26850 is probably a prerequisite for resolving this one.  But once that's done, this bug will still need to define which elements' stylesheets appear in the list, and the order."}}