Opened 7 years ago

Closed 6 years ago

Last modified 5 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
Cc:

Description

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 6 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 5 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.