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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>89297</bug_id>
          <alias>titleload</alias>
          <creation_ts>2012-06-16 18:00:54 -0700</creation_ts>
          <short_desc>If title attribute is set on LINK stylesheets in head, those sheets are ignored</short_desc>
          <delta_ts>2022-07-26 21:40:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=225363</see_also>
          <bug_file_loc>http://test.csswg.org/shepherd/testcase/ttwf-cssom-doc-ext-load-tree-order/spec/CSSOM/author/boundsj/status/submitted/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jesse Bounds">jesse</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>eoconnor</cc>
    
    <cc>joethomas</cc>
    
    <cc>rniwa</cc>
    
    <cc>shanestephens</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>650918</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse Bounds">jesse</who>
    <bug_when>2012-06-16 18:00:54 -0700</bug_when>
    <thetext>If a title is used (i.e. &lt;link title=&quot;zebra&quot; rel=&quot;stylesheet&quot; href=&quot;zebra.css&quot; type=&quot;text/css&quot;&gt; ) when loading stylesheets in HEAD, the sheet is ignored. This does not occur in Opera or Firefox. It does occur in webkit/safari/chrome.

Test:
http://test.csswg.org/shepherd/testcase/ttwf-cssom-doc-ext-load-tree-order/spec/CSSOM/author/boundsj/status/submitted/

Test Results:
http://test.csswg.org/shepherd/repository/tip/contributors/ttwf/boundsj/submitted/ttwf-cssom-doc-ext-load-tree-order.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650925</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-06-16 18:09:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/11684476&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>656786</commentid>
    <comment_count>2</comment_count>
    <who name="Joe Thomas">joethomas</who>
    <bug_when>2012-06-25 12:33:54 -0700</bug_when>
    <thetext>As per the spec http://www.w3.org/TR/html401/present/styles.html#h-14.3, naming the stylesheet with &apos;title&apos; attribute makes it &quot;preferred&quot;. WebKit allows only one of the preferred stylesheets and discards the rest in Document::collectActiveStylesheets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886927</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-26 15:25:31 -0700</bug_when>
    <thetext>&gt;&gt; rniwa@webkit.org - you landed support for &apos;title&apos; in link here - https://github.com/WebKit/WebKit/commit/a39b520b8e0ca63489db7a45fe19181a33fac903

I think that will make this test as &quot;PASS&quot;. Can we close this bug? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886998</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-26 21:40:11 -0700</bug_when>
    <thetext>Yeah, this is now working:
http://test.csswg.org/shepherd/repository/bbc09e4c2581d270eb7b8b9704032d2b745c20e1/cssom-1/ttwf-cssom-doc-ext-load-tree-order.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>