RESOLVED CONFIGURATION CHANGED Bug 89297
titleload If title attribute is set on LINK stylesheets in head, those sheets are ignored
https://bugs.webkit.org/show_bug.cgi?id=89297
Summary If title attribute is set on LINK stylesheets in head, those sheets are ignored
Jesse Bounds
Reported 2012-06-16 18:00:54 PDT
If a title is used (i.e. <link title="zebra" rel="stylesheet" href="zebra.css" type="text/css"> ) 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
Attachments
Radar WebKit Bug Importer
Comment 1 2012-06-16 18:09:28 PDT
Joe Thomas
Comment 2 2012-06-25 12:33:54 PDT
As per the spec http://www.w3.org/TR/html401/present/styles.html#h-14.3, naming the stylesheet with 'title' attribute makes it "preferred". WebKit allows only one of the preferred stylesheets and discards the rest in Document::collectActiveStylesheets.
Ahmad Saleem
Comment 3 2022-07-26 15:25:31 PDT
>> rniwa@webkit.org - you landed support for 'title' in link here - https://github.com/WebKit/WebKit/commit/a39b520b8e0ca63489db7a45fe19181a33fac903 I think that will make this test as "PASS". Can we close this bug? Thanks!
Note You need to log in before you can comment on or make changes to this bug.