File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
java/src/org/openqa/selenium/print Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ public class PageSize {
2525 private final double width ;
2626
2727 // Predefined constants
28- public static final PageSize A4 = new PageSize (27.94 , 21.59 );
29- public static final PageSize LEGAL = new PageSize (35.56 , 21.59 );
30- public static final PageSize TABLOID = new PageSize (43.18 , 27.94 );
31- public static final PageSize LETTER = new PageSize (27.94 , 21.59 );
32-
28+ public static final PageSize A4 = new PageSize (27.94 , 21.59 ); // A4 size in cm
29+ public static final PageSize LEGAL = new PageSize (35.56 , 21.59 ); // Legal size in cm
30+ public static final PageSize TABLOID = new PageSize (43.18 , 27.94 ); // Tabloid size in cm
31+ public static final PageSize LETTER = new PageSize (27.94 , 21.59 ); // Letter size in cm
32+
3333 public PageSize (double height , double width ) {
3434 this .height = height ;
3535 this .width = width ;
You can’t perform that action at this time.
0 commit comments