Closed Bug 277196 Opened 20 years ago Closed 20 years ago

Media type "screen,projection" ignored

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: bugzilla1, Assigned: dbaron)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0

The page has the following stylesheets specified

<link rel="stylesheet" type="text/css" href="/styles/screen.css"
media="screen,projection" />
<link rel="stylesheet" type="text/css" href="/styles/support.css"
media="screen,projection" />
<link rel="stylesheet" type="text/css" href="/styles/handheld.css"
media="handheld" />
<link rel="stylesheet" type="text/css" href="/styles/print.css" media="print" />
<!--[if IE]><link rel="stylesheet" type="text/css"
href="https://support.opera.com/styles/ie.css" /><![endif]-->

but the page is displayed without any styles.

Tested on Firefox 1.0, Seamonkey 1.8a5. Opera and IE both display the page styles.

Reproducible: Always

Steps to Reproduce:
1. Load page

Actual Results:  
Page rendered using only browser default styles.

Expected Results:  
Rendered using the 2 stylesheets with media type screen.
The problem is that the "stylesheets" in question are sent as text/plain, which
means they're not stylesheets.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
ah - didn't think to check that. Confirming your diagnosis.
Status: RESOLVED → VERIFIED
Verified.  Note that we put a nice message in the JS console about the problem...
(In reply to comment #3)
> Verified.  Note that we put a nice message in the JS console about the problem...

Not in 1.7 ;-)
You need to log in before you can comment on or make changes to this bug.