[css-d] CSS Parser

2005-11-24 Thread Will Barker
Has anyone else used CSS Parser (formerly Steady State CSS2 Parser). And in particular the parseStyleDeclaration() method. The SAC API documentation defines this method as: Parse a CSS style declaration (without '{' and '}'). However it seems that in order to use the CSS Parser to parse a style

[css-d] Duplicate properties

2005-11-24 Thread Will Barker
Can a CSS selector have a group of properties, contained within which is the same property defined twice? For example - as you can see the text-decoration is defined multiple times. If it is allowed, and they contain different values, which should be adopted? .heading1 { display: block;

Re: [css-d] CSS and JAVA

2005-11-16 Thread Will Barker
om: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Will Barker > Sent: Tuesday, November 15, 2005 6:07 AM > To: css-d@lists.css-discuss.org > Subject: [css-d] CSS and JAVA > > Hi, I am new to this list and apologise if this has been discussed > before (altho'

[css-d] CSS and JAVA

2005-11-15 Thread Will Barker
Hi, I am new to this list and apologise if this has been discussed before (altho' i couldn't find anything in the archives). I have a project ongoing at the moment and I have to parse a CSS file using Java. I know there are a few tools around on the net that claim to do just that (such as the Simp