jquery/test/data/testsuite.css

143 lines
2.1 KiB
CSS
Raw Normal View History

/* for testing opacity set in styles in IE */
ol#empty {
2013-04-15 17:26:34 +00:00
opacity: 0;
}
div#fx-tests h4 {
2013-04-15 17:26:34 +00:00
background: red;
}
div#fx-tests h4.pass {
2013-04-15 17:26:34 +00:00
background: green;
}
div#fx-tests div.box {
2013-04-15 17:26:34 +00:00
background: red;
overflow: hidden;
border: 2px solid #000;
}
div#fx-tests div.overflow {
2013-04-15 17:26:34 +00:00
overflow: visible;
}
div.inline {
2013-04-15 17:26:34 +00:00
display: inline;
}
div.autoheight {
2013-04-15 17:26:34 +00:00
height: auto;
}
div.autowidth {
2013-04-15 17:26:34 +00:00
width: auto;
}
div.autoopacity {
opacity: 1;
}
div.largewidth {
2013-04-15 17:26:34 +00:00
width: 100px;
}
div.largeheight {
2013-04-15 17:26:34 +00:00
height: 100px;
}
div.medwidth {
2013-04-15 17:26:34 +00:00
width: 50px;
}
div.medheight {
2013-04-15 17:26:34 +00:00
height: 50px;
}
div.medopacity {
2013-04-15 17:26:34 +00:00
opacity: 0.5;
}
div.nowidth {
2013-04-15 17:26:34 +00:00
width: 0px;
}
div.noheight {
2013-04-15 17:26:34 +00:00
height: 0px;
}
div.noopacity {
2013-04-15 17:26:34 +00:00
opacity: 0;
}
div.hidden {
2013-04-15 17:26:34 +00:00
display: none;
}
div#fx-tests div.widewidth {
2013-04-15 17:26:34 +00:00
background-repeat: repeat-x;
}
div#fx-tests div.wideheight {
2013-04-15 17:26:34 +00:00
background-repeat: repeat-y;
}
div#fx-tests div.widewidth.wideheight {
2013-04-15 17:26:34 +00:00
background-repeat: repeat;
}
div#fx-tests div.noback {
2013-04-15 17:26:34 +00:00
background-image: none;
}
.chain-test,
.chain-test div {
2013-04-15 17:26:34 +00:00
width: 100px;
height: 20px;
position: relative;
float: left;
}
.chain-test div {
2013-04-15 17:26:34 +00:00
position: absolute;
top: 0;
left: 0;
}
.chain-test {
2013-04-15 17:26:34 +00:00
background: red;
}
.chain-test div {
2013-04-15 17:26:34 +00:00
background: green;
}
.chain-test-out {
2013-04-15 17:26:34 +00:00
background: green;
}
.chain-test-out div {
2013-04-15 17:26:34 +00:00
background: red;
display: none;
}
/* tests to ensure jQuery can determine the native display mode of elements
that have been set as display: none in stylesheets */
div#show-tests * { display: none; }
#nothiddendiv { font-size: 16px; }
#nothiddendivchild.em { font-size: 2em; }
#nothiddendivchild.prct { font-size: 150%; }
2011-04-12 15:48:07 +00:00
/* 8099 changes to default styles are read correctly */
tt { display: none; }
sup { display: none; }
dfn { display: none; }
/* #9239 Attach a background to the body( avoid crashes in removing the test element in support ) */
body, div { background: url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif) no-repeat -1000px 0; }
/* #10501 */
section { background:#f0f; display:block; }
/* #11971 */
#foo { background: url(1x1.jpg) right bottom no-repeat; }
#display { display: list-item !important; }