Closed
Bug 138944
Opened 22 years ago
Closed 22 years ago
@import is not implemented
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
CLOSED
WORKSFORME
People
(Reporter: thilopfennig, Assigned: dbaron)
Details
In CSS2 there is a tag of the form @import "page.css" This includes styles. This ca be very usefull if you categorize styles and save them as many different files. So a stylesheet could only contain some @import tags that link to the real style information that is broken in parts.
Comment 1•22 years ago
|
||
Mozilla does implement @import... Can you provide us an example page where it does not work?
Comment 2•22 years ago
|
||
Guessing that the @import statements are not the first items in the CSS document. "Any @import rules must precede all rule sets in a style sheet." - http://www.w3.org/TR/REC-CSS2/cascade.html#at-import Thilo, can you provide more details?
Comment 3•22 years ago
|
||
I'm very sure, that it works, coz I use it on a daily base..
Assignee | ||
Comment 4•22 years ago
|
||
->WORKSFORME. @import is implemented. If you have a stylesheet where it isn't working, please try running it through http://jigsaw.w3.org/css-validator/ . See also the testcases at http://www.bath.ac.uk/~py8ieh/internet/importtest/ .
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 6•22 years ago
|
||
Sorry, my fault - missing semicolon. Sorry again! Thilo
Status: VERIFIED → CLOSED
You need to log in
before you can comment on or make changes to this bug.
Description
•