Skip to content

Commit 5427582

Browse files
committed
Upgrade to css4j 6.1 and checkstyle 10.26.0
1 parent d45d4db commit 5427582

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ java {
3737
dependencies {
3838
api('io.sf.carte:css4j') {
3939
version {
40-
strictly '[6.0,)'
40+
strictly '[6.1,)'
4141
prefer "{$css4jVersion}"
4242
}
4343
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
checkstyleVersion=10.25.0
2-
css4jVersion=6.0
1+
checkstyleVersion=10.26.0
2+
css4jVersion=6.1
33
css4jAgentVersion=6.0
44
dom4jVersion=2.1.4
55
extraJavaModuleInfoVersion=1.12

junit/io/sf/carte/doc/dom4j/XHTMLDocumentTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public void getElementgetComputedStylePresentationalAttribute() {
296296
parent.setAttribute("bgcolor", "#90fz77");
297297
styledecl = sheet.getComputedStyle(parent, null);
298298
assertEquals(11, styledecl.getLength());
299-
assertEquals("rgb(0 0 0 / 0)", styledecl.getPropertyValue("background-color"));
299+
assertEquals("#0000", styledecl.getPropertyValue("background-color"));
300300
assertTrue(xhtmlDoc.getErrorHandler().hasErrors());
301301
assertTrue(xhtmlDoc.getErrorHandler().hasComputedStyleErrors());
302302
assertTrue(xhtmlDoc.getErrorHandler().hasComputedStyleErrors(parent));
@@ -339,7 +339,7 @@ public void getOverrideStyle() {
339339
"display: table-row; vertical-align: middle; border-top-color: #808080; border-right-color: #808080; border-bottom-color: #808080; border-left-color: #808080; unicode-bidi: embed; margin-top: 16pt; margin-right: 16pt; margin-bottom: 16pt; margin-left: 16pt; color: #f00; ",
340340
style.getCssText());
341341
assertEquals(
342-
"display:table-row;vertical-align:middle;border-color:#808080;unicode-bidi:embed;margin:16pt;color:#f00;",
342+
"display:table-row;vertical-align:middle;border-color:grey;unicode-bidi:embed;margin:16pt;color:red;",
343343
style.getMinifiedCssText());
344344
}
345345

0 commit comments

Comments
 (0)