Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1227 closed enhancement (fixed)

@import rule & stylistLoadStylesheet

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Plugins Version: trunk
Severity: normal Keywords: Stylist


No css rule seems to be loaded if there's an @import rule in the external style sheet.
Can Xinha::ripStylesFromCSSString read such imported rules ?
Or at least ignore @import rule...

Change History (2)

comment:1 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [1031]: added some code to handle @import. Hope it works in all cases

comment:2 Changed 11 years ago by gogo

changeset:1193 has a modification to this,

New boolean parameter to stylistLoadStyles, stylistLoadStylesheet, ripStylesFromCSSFile and ripStylesFromCSSString which allows to disable the reading of imports.

ripStylesFromCSSString can now handle imports also, import processing moved to this function.

Multi-level imports (imports from within imports) now also processed.

Note: See TracTickets for help on using tickets.