2009-09-30 00:09:21 +02:00
|
|
|
/* for testing opacity set in styles in IE */
|
2011-03-07 14:43:08 +01:00
|
|
|
ol#empty { opacity: 0; filter:Alpha(opacity=0) progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffff0000', EndColorStr='#ffffffff'); }
|
2009-09-30 00:09:21 +02:00
|
|
|
|
|
|
|
div#fx-tests h4 {
|
|
|
|
background: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests h4.pass {
|
|
|
|
background: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.box {
|
2010-09-27 02:47:19 +02:00
|
|
|
background: red;
|
2009-09-30 00:09:21 +02:00
|
|
|
overflow: hidden;
|
|
|
|
border: 2px solid #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.overflow {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.autoheight {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.autowidth {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.autoopacity {
|
|
|
|
opacity: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.largewidth {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.largeheight {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.largeopacity {
|
|
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.medwidth {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.medheight {
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.medopacity {
|
|
|
|
opacity: 0.5;
|
|
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.nowidth {
|
|
|
|
width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.noheight {
|
|
|
|
height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.noopacity {
|
|
|
|
opacity: 0;
|
|
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.widewidth {
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.wideheight {
|
|
|
|
background-repeat: repeat-y;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.widewidth.wideheight {
|
|
|
|
background-repeat: repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#fx-tests div.noback {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.chain, div.chain div { width: 100px; height: 20px; position: relative; float: left; }
|
|
|
|
div.chain div { position: absolute; top: 0px; left: 0px; }
|
|
|
|
|
|
|
|
div.chain.test { background: red; }
|
|
|
|
div.chain.test div { background: green; }
|
|
|
|
|
|
|
|
div.chain.out { background: green; }
|
|
|
|
div.chain.out div { background: red; display: none; }
|
|
|
|
|
2010-10-05 20:28:43 +02:00
|
|
|
/* tests to ensure jQuery can determine the native display mode of elements
|
|
|
|
that have been set as display: none in stylesheets */
|
2009-09-30 00:09:21 +02:00
|
|
|
div#show-tests * { display: none; }
|
2009-11-11 20:17:16 +01:00
|
|
|
|
|
|
|
#nothiddendiv { font-size: 16px; }
|
|
|
|
#nothiddendivchild.em { font-size: 2em; }
|
|
|
|
#nothiddendivchild.prct { font-size: 150%; }
|