Closed
Bug 125676
Opened 23 years ago
Closed 23 years ago
Mozilla doesn't recognize Style Sheet Media Elements
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: keaeris, Assigned: dbaron)
References
()
Details
As part of my CSS class, I found that the various media elements, such as
@media, @page, and others don't work in Mozilla. The page listed in the URL
displays and prints as expected in Opera 5. This page validates at W3C.org.
Comment 1•23 years ago
|
||
Note that you've misspelled "text/css" in the <style> element on that page.
Summary: Mozilla doesn't recognize Style Sheet Media Elements → Mozilla doesn't recognize Style Sheet Media Elements
Assignee | ||
Comment 2•23 years ago
|
||
You're missing some closing braces (at the end of each @media section), so the
entire stylesheet is within @media print and actually the entire stylesheet
should be ignored by any conformant CSS implementation.
Inserting the missing closing braces makes things work.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Ah! Interesting that Opera renders it despite the mistakes. Time to go make a
bug report over there with them.
You need to log in
before you can comment on or make changes to this bug.
Description
•