Skip to content

Commit

Permalink
Testcase with @font-face @media and default @media for print rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerdic committed Apr 5, 2012
1 parent de3ebbd commit 5ce6359
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions testing/unit-tests/csst/print-plain/font-face-atmedia.csst
@@ -0,0 +1,49 @@
--TEST--
Test simple CSS print
--CSS--
/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+
Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */
/* The content of the posts (body of text) */
/* General page style */

/* begin suggest post */
.float-l {
float : left ;
}

@font-face {
font-family: GillSans;
src:url("/generic/fonts/GillSansC.otf") format('opentype');
font-style: normal;
font-weight: bold;
}

@media print {
.font-9{
font-size: 9px;
}
}

.form-suggest {
height : 200px ;
background : #DEE2D0 ;
vertical-align : top;
}


--PRINT--
@media screen {
.float-l{float:left}
}
@font-face{font-family:GillSans;src:url(/generic/fonts/GillSansC.otf) format("opentype");font-style:normal;font-weight:700}
@media print {
.font-9{font-size:9px}
}
@media screen {
.form-suggest{height:200px;background:#DEE2D0;vertical-align:top}
}
--SETTINGS--
template='high'
sort_properties=false
sort_selectors=false
default_media="@media screen"

0 comments on commit 5ce6359

Please sign in to comment.