<?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>16269</bug_id>
          
          <creation_ts>2012-03-08 07:35:17 +0000</creation_ts>
          <short_desc>I think there needs to be a way to, when a document has multiple style elements which have different titles, specify which of the stylesheets are alternate stylesheets and which one is the default stylesheet.</short_desc>
          <delta_ts>2012-03-09 06:47:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65135</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-03-08 07:35:17 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/html5/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
I think there needs to be a way to, when a document has multiple style
elements which have different titles, specify which of the stylesheets are
alternate stylesheets and which one is the default stylesheet.

Posted from: 98.109.156.19
User agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65141</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-03-08 15:38:42 +0000</bug_when>
    <thetext>There is.  The ones that have &quot;alternate&quot; in the &apos;rel&apos; attribute are the alternate stylesheets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65199</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-09 06:43:25 +0000</bug_when>
    <thetext>That&apos;s not entirely accurate, but this should be specified in CSSOM.

http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#add-a-style-sheet</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65200</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-09 06:47:43 +0000</bug_when>
    <thetext>I read the bug again and see that it&apos;s talking about &lt;style&gt; elements, not &lt;link&gt;.

For that you can do:

&lt;meta http-equiv=default-style content=bar&gt;
&lt;style title=foo&gt;&lt;/style&gt;&lt;!-- alternative --&gt;
&lt;style title=bar&gt;&lt;/style&gt;&lt;!-- preferred --&gt;

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-meta-http-equiv-default-style</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>