Bug 22439

Summary: Won't load stylesheets with filenames less than 2 characters long in xhtml.
Product: WebKit Reporter: sliahawr
Component: XMLAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Test case that demonstrates the bug.
none
proposed fix mrowe: review+

sliahawr
Reported 2008-11-23 11:32:16 PST
When linking to a css stylesheet in an xhtml document using this code: <?xml-stylesheet href="a" type="text/css"?> -it does not load the stylesheet. However when using this code: <?xml-stylesheet href="aa" type="text/css"?> It loads the stylesheet successfully.
Attachments
Test case that demonstrates the bug. (588 bytes, application/bzip2)
2008-11-23 11:41 PST, sliahawr
no flags
proposed fix (6.69 KB, patch)
2008-11-24 03:18 PST, Alexey Proskuryakov
mrowe: review+
sliahawr
Comment 1 2008-11-23 11:41:19 PST
Created attachment 25400 [details] Test case that demonstrates the bug. I have included a .htaccess apache configuration file which I used to ensure the correct mime-type and charset were sent with the css files.
Alexey Proskuryakov
Comment 2 2008-11-24 03:18:16 PST
Created attachment 25423 [details] proposed fix
Mark Rowe (bdash)
Comment 3 2008-11-24 04:56:15 PST
Comment on attachment 25423 [details] proposed fix r=me
Alexey Proskuryakov
Comment 4 2008-11-24 06:41:34 PST
Note You need to log in before you can comment on or make changes to this bug.