Closed Bug 437384 Opened 17 years ago Closed 17 years ago

CSS @import loading styles for print AND screen media is not working

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 436261

People

(Reporter: mag, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0 I noticed this bug on a website that is loading multible css files through the @import loader. It seems that you can't load the same stylesheet for screen an print media. One overwrites the other... Please see my example page for further explanations. Thanks!!! Reproducible: Always Expected Results: One should be able to load the same stylesheets for print and screen media.
Version: unspecified → 3.0 Branch
Component: General → Style System (CSS)
OS: Windows Vista → All
Product: Firefox → Core
QA Contact: general → style-system
Hardware: PC → All
Version: 3.0 Branch → unspecified
That page is basically identical to the testcase I attached in bug 436261 comment 16. It sucks that not blocking the parser on CSS loads exposed this long-standing bug in this particular additional case, and I'll aim to get this fixed in the next dot-release. In the meantime, media="print, screen" should work fine...
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.