Skip to content

Commit

Permalink
fix another typo, now it works in older version (tested)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelinj8 committed Sep 6, 2024
1 parent 7d096e5 commit 036ea95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public List<PropertyDeclaration> buildDeclarations(

checkInheritAllowed(value3, false);

if (isLength(value1) && isLength(value2) && value2.getPrimitiveType() == CSSPrimitiveValue.CSS_IDENT) {
if (isLength(value1) && isLength(value2) && value3.getPrimitiveType() == CSSPrimitiveValue.CSS_IDENT) {
if (value1.getFloatValue() < 0.0f) {
throw new CSSParseException("A page dimension may not be negative", -1);
}
Expand Down

0 comments on commit 036ea95

Please sign in to comment.