Default-Style HTTP header doesn't work in documents served as XHTML

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
17 years ago
16 years ago

People

(Reporter: keith_bowes, Assigned: hjtoi-bugzilla)

Tracking

({xhtml})

Trunk
x86
Windows XP
xhtml
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

642 bytes, application/zip
Details
(Reporter)

Description

17 years ago
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.
(Reporter)

Comment 1

17 years ago
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).
Keywords: xhtml
testcase worksforme (saved zipfile to disk, unzipped, loaded index.xhtml, it got
correctly read as an XML document, the text was blue.

keith_bowes@hotmail.com, can you still reproduce this problem?
(Reporter)

Comment 4

17 years ago
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: 17 years ago
Resolution: --- → WORKSFORME

Updated

16 years ago
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.