<?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>26546</bug_id>
          
          <creation_ts>2014-08-08 18:37:23 +0000</creation_ts>
          <short_desc>importing style sheets and HTML imports from ES6 modules</short_desc>
          <delta_ts>2016-02-14 16:11:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2015 Q1</target_milestone>
          <dependson>25715</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>allen</cc>
    
    <cc>annevk</cc>
    
    <cc>dglazkov</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>jorendorff</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110043</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-08-08 18:37:23 +0000</bug_when>
    <thetext>It would be cool to support something like:

   import mystyles from &quot;foo.css&quot;;

...which would result in a &lt;link&gt; being added to the Document (if one isn&apos;t there already) pointing to foo.css. &quot;mystyles&quot; would expose that to the script somehow.

Obviously normally this would be just getting a reference to an already-downloaded style sheet, since we don&apos;t want to be doing these late-bound (same with how we&apos;re probably going to want to predeclare the modules that are imported, so that they&apos;re not fetched late-bound either, in pre-HTTP2 environments).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110047</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2014-08-09 15:09:32 +0000</bug_when>
    <thetext>Manipulating the document as a side-effect probably isn&apos;t what we want; instead, let&apos;s just make stylesheets constructable and have the loader hook do *that* instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110251</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-08-18 20:36:27 +0000</bug_when>
    <thetext>Yeah. Importing an image wouldn&apos;t want to do anything to the DOM either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125018</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-02-14 16:11:45 +0000</bug_when>
    <thetext>Ideas have evolved a bit since 2014 and there&apos;s no real need to track this here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>