Skip to content

Commit

Permalink
Add CSS property zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
torusrxxx authored Dec 26, 2024
1 parent 300cd07 commit 1e9483f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/freenet/client/filter/CSSTokenizerFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ public static <T> T[] concat(T[] a, T[] b) {
allelementVerifiers.add("word-wrap");
allelementVerifiers.add("writing-mode");
allelementVerifiers.add("z-index");


allelementVerifiers.add("zoom");
}

/*
Expand Down Expand Up @@ -1820,6 +1819,11 @@ else if("z-index".equalsIgnoreCase(element))
elementVerifiers.put(element,new CSSPropertyVerifier(Arrays.asList("auto"),ElementInfo.VISUALMEDIA,Arrays.asList("in")));
allelementVerifiers.remove(element);
}
else if("zoom".equalsIgnoreCase(element))
{
elementVerifiers.put(element,new CSSPropertyVerifier(Arrays.asList("normal"),ElementInfo.VISUALMEDIA,Arrays.asList("re","pe")));
allelementVerifiers.remove(element);
}
else if("transition-delay".equalsIgnoreCase(element))
{
elementVerifiers.put(element,new CSSPropertyVerifier(null,ElementInfo.VISUALMEDIA,null,Arrays.asList("145<1,65535>"),false,true));
Expand Down

0 comments on commit 1e9483f

Please sign in to comment.