<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26850</bug_id>
          
          <creation_ts>2014-09-18 18:32:10 +0000</creation_ts>
          <short_desc>[Shadow]: Style element should specify when to create and add style sheet in shadow DOM</short_desc>
          <delta_ts>2015-05-27 03:26:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27375</blocked>
    
    <blocked>27418</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="William Chen">wchen</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>bugs</cc>
    
    <cc>hayato</cc>
    
    <cc>ian</cc>
    
    <cc>kenjibaheux</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111758</commentid>
    <comment_count>0</comment_count>
    <who name="William Chen">wchen</who>
    <bug_when>2014-09-18 18:32:10 +0000</bug_when>
    <thetext>The spec currently specifies the ShadowRoot styleSheets property as:

&quot;On getting, the attribute must return a StyleSheetList sequence containing the shadow root style sheets.&quot;

The spec for the style element only specifies creating sheets for elements &quot;in a Document&quot;:

https://html.spec.whatwg.org/multipage/semantics.html#update-a-style-block

The spec for &quot;create a CSS style sheet&quot; only adds sheets to the document:

http://dev.w3.org/csswg/cssom/#create-a-css-style-sheet

As it&apos;s currently specified, .styleSheets always returns an empty list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111790</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-09-19 11:15:21 +0000</bug_when>
    <thetext>HTML and/or CSSOM can probably be changed if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112299</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-26 18:27:21 +0000</bug_when>
    <thetext>Yeah. Tell us what needs changing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115909</commentid>
    <comment_count>3</comment_count>
    <who name="Kenji Baheux">kenjibaheux</who>
    <bug_when>2014-12-04 07:45:01 +0000</bug_when>
    <thetext>Hayato: let me increase the priority since we probably need to resolve this one to move forward on 27418</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115910</commentid>
    <comment_count>4</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2014-12-04 07:50:42 +0000</bug_when>
    <thetext>I think this is yet another instance of &apos;In a Document&apos; issue.
See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26365.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120532</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-05-27 03:26:06 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/56</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>