";
break;
case 'importCss':
header('Content-type: text/css; charset=utf-8');
echo "#importMediaTest {
margin: 4px;
border: 1px dashed red;
width: 200px;
height: 200px;
}
#importCssTest {
margin: 4px;
border: 1px solid blue;
width: 100px;
height: 100px;
}";
break;
case 'linkCss':
header('Content-type: text/css; charset=utf-8');
echo "#linkMediaTest {
margin: 4px;
border: 2px dashed red;
width: 200px;
height: 200px;
}
#linkCssTest {
margin: 4px;
border: 2px dashed red;
width: 100px;
height: 100px;
}";
break;
case 'importMediaPrint': // may download but not render
header('Content-type: text/css; charset=utf-8');
echo "#importMediaTest {
margin: 10px;
border: 5px dashed gray;
width: 100px;
height: 100px;
}";
break;
case 'linkMediaPrint': // may download but not render
header('Content-type: text/css; charset=utf-8');
echo "#linkMediaTest {
margin: 10px;
border: 5px dashed gray;
width: 100px;
height: 100px;
}";
break;
case 'remoteJsTrue':
header('Content-type: text/javascript; charset=utf-8');
echo "unTypedVarInDocScope = true;";
break;
case 'remoteJsFalse':
header('Content-type: text/javascript; charset=utf-8');
echo "unTypedVarInDocScope = false;";
break;
default:
echo "unkown mode {$_GET['mode']}";
}
}
?>