private boolean appendMedia(Media node) { cssOnly.append("@media"); appendCommaSeparated(node.getMediums()); appendBodySortDeclarations(node.getBody()); return true; }
private boolean appendPage(Page node) { cssOnly.append("@page").ensureSeparator(); if (node.hasName()) { append(node.getName()); if (!node.hasDockedPseudopage()) cssOnly.ensureSeparator(); } if (node.hasPseudopage()) { append(node.getPseudopage()); cssOnly.ensureSeparator(); } appendBodySortDeclarations(node.getBody()); return true; }
private boolean appendPageMarginBox(PageMarginBox node) { append(node.getName()); appendBodySortDeclarations(node.getBody()); return true; }