WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-06-16 18:09:28 PDT
<
rdar://problem/11684476
>
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!
Ryosuke Niwa
Comment 4
2022-07-26 21:40:11 PDT
Yeah, this is now working:
http://test.csswg.org/shepherd/repository/bbc09e4c2581d270eb7b8b9704032d2b745c20e1/cssom-1/ttwf-cssom-doc-ext-load-tree-order.html
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug