From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0+) Gecko/20020603 BuildID: 2002060308 The Default-Style HTTP header doesn't work in documents served as XHTML. It doesn't matter if the style sheets are included via ?xml-stylesheet or the "link" element and it doesn't matter if the header is sent by the server or included in a meta tag. I'll attach a test case that demonstrates the bug.
Created attachment 86295 [details] Test Case This a test case that demonstrates what I'm talking about. Of course, Mozilla must be set up to recognize .xhtml files as XHTML for the demo to work properly.
cc'ing dbaron, this may well be a style system (loader) issue. (Default-Style is one of those HTTP headers the W3C pulled out of thin air, like Content-Style- Type and Content-Script-Type).
testcase worksforme (saved zipfile to disk, unzipped, loaded index.xhtml, it got correctly read as an XML document, the text was blue. firstname.lastname@example.org, can you still reproduce this problem?
No, I can't still reproduce the problem; it works now.
Marking so. There were some changes to XMLContentSink in may and june that may have fixed this...
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.