-
Hi there,
I have used CSS Parser for searching all URL's within one CSS file and found a problem with following CSS construct:
body {
margin : 0;
(...)
background : #123456 url("/firstUrl.file") no-repeat;
background : #123456 url("/secondUrl.file") no-repeat;
background : #123456 url("/thirdUrl.file") no-repeat;
}
h1 {(...)}
I tried to access all three...
2009-12-11 08:56:03 UTC by icke79
-
Hi
I too looked in vain for a basic usage example. Finding none, I poked around the code. I wrote the following JUnit test. It reads and parses a simple css file and then walks through the CSSStyleSheet object that the parse operation has created. So, this exercises the CSS DOM api. I have not yet tried to exercise the SAC api.
Hope it helps you.
JSandoe
package...
2009-11-15 19:03:07 UTC by jsandoe
-
I'm try to use this library but I don't know how to start, can sombody help me ?.
2009-11-06 07:44:34 UTC by hodawa28
-
The unescape method in AbstractSACParser removes backslashes from style property:
After parsing the style rule "input {-wap-input-format: "NNNNN\-NNNN"}" with SacCSSParser21 the method CSSStyleRuleImpl.getCssText() returns:
input { -wap-input-format: "NNNNN-NNNN" }.
2009-11-04 11:34:33 UTC by nobody
-
I get an error on parsing the following style rule with SacCSSParser21:
.container
{
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
filter: alpha(opacity=90);
-moz-opacity: 0.9;
opacity: 0.9;
}
Error while parsing CSS:
Fehler in Ausdruck. Ungültiger Token "=". Erwartet wurde einer von: , , "/", , "-", , , ")", , "inherit"...
2009-11-02 09:52:24 UTC by nobody
-
waldbaer committed patchset 133 of module cssparser to the CSS Parser CVS repository, changing 4 files.
2009-09-11 11:55:21 UTC by waldbaer
-
waldbaer committed patchset 132 of module cssparser to the CSS Parser CVS repository, changing 4 files.
2009-09-11 11:54:38 UTC by waldbaer
-
waldbaer committed patchset 131 of module cssparser to the CSS Parser CVS repository, changing 1 files.
2009-09-11 11:54:20 UTC by waldbaer
-
waldbaer committed patchset 130 of module cssparser to the CSS Parser CVS repository, changing 1 files.
2009-09-11 11:53:43 UTC by waldbaer
-
waldbaer committed patchset 129 of module cssparser to the CSS Parser CVS repository, changing 1 files.
2009-09-11 11:51:57 UTC by waldbaer