| Import Rule in css [message #193756] |
Fri, 01 June 2007 03:23  |
Stefan Holzknecht Messages: 31 Registered: July 2009 |
Member |
|
|
Hi,
I need css styles that are available for a particular element in html. I
get that information by asking for the IStyleSheetAdapter of the
html DOMNode. The adapter I get actually serves the style sheets well
but seems to fail with import rules (e.g. @import url("global.css");).
How can I get imported sheets? I noted, that the css editor actually
supports the import rules neither (this rule is not present as proposal
in content assist, no properties are displayed). Should I file a bug for
the missing @import rule support?
Thanks,
Stefan
|
|
|
|
|
| Re: Import Rule in css [message #194105 is a reply to message #194067] |
Wed, 06 June 2007 13:07  |
 |
Nitin Dahyabhai Messages: 1843 Registered: July 2009 |
Senior Member |
|
|
Stefan Holzknecht wrote:
> Hi,
> after reviewing my code I figured out that class
> 'org.eclipse.wst.css.core.internal.util.AbstractCssTraverser ' provides a
> property setTraverseImported(boolean) that works as expected.
> Nevertheless, the content assist of the css editor could be improved and
> the ability to link to an imported css file would be nice.
Patches are welcome, if you're interested in implementing the
improvements you'd like to see.
--
Nitin Dahyabhai
Structured Source Editor
---
Nitin Dahyabhai
Eclipse WTP, IBM
|
|
|
Powered by
FUDForum. Page generated in 0.01599 seconds