writeDeviceSpecificMetaElements();
getPageHead().writeCssCandidates(this);
final MarinerPageContext pageContext = getMarinerPageContext();
final RequiredScriptModules requiredScriptModules =
pageContext.getRequiredScriptModules();
requiredScriptModules.createMarkerElement();
boolean headEmpty = head.isEmpty();
if (writeHead) {
openHead(pageBuffer, headEmpty);
// if there is anything in the head buffer, then output it