mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
8d20cb9732
Also, remove unused `expected` property in `css` test cases.
Closes gh-4866
(cherry picked from commit 482f846203
)
149 lines
2.0 KiB
CSS
149 lines
2.0 KiB
CSS
ol#empty {
|
|
opacity: 0;
|
|
}
|
|
|
|
div#fx-tests h4 {
|
|
background: red;
|
|
}
|
|
|
|
div#fx-tests h4.pass {
|
|
background: green;
|
|
}
|
|
|
|
div#fx-tests div.box {
|
|
background: red;
|
|
overflow: hidden;
|
|
border: 2px solid #000;
|
|
}
|
|
|
|
div#fx-tests div.overflow {
|
|
overflow: visible;
|
|
}
|
|
|
|
div.autoheight {
|
|
height: auto;
|
|
}
|
|
|
|
div.autowidth {
|
|
width: auto;
|
|
}
|
|
|
|
div.autoopacity {
|
|
opacity: 1;
|
|
}
|
|
|
|
div.largewidth {
|
|
width: 100px;
|
|
}
|
|
|
|
div.largeheight {
|
|
height: 100px;
|
|
}
|
|
|
|
div.medwidth {
|
|
width: 50px;
|
|
}
|
|
|
|
div.medheight {
|
|
height: 50px;
|
|
}
|
|
|
|
div.medopacity {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
div.nowidth {
|
|
width: 0;
|
|
}
|
|
|
|
div.noheight {
|
|
height: 0;
|
|
}
|
|
|
|
div.noopacity {
|
|
opacity: 0;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
.chain-test,
|
|
.chain-test div {
|
|
width: 100px;
|
|
height: 20px;
|
|
position: relative;
|
|
float: left;
|
|
}
|
|
.chain-test div {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.chain-test {
|
|
background: red;
|
|
}
|
|
.chain-test div {
|
|
background: green;
|
|
}
|
|
|
|
.chain-test-out {
|
|
background: green;
|
|
}
|
|
.chain-test-out div {
|
|
background: red;
|
|
display: none;
|
|
}
|
|
|
|
#nothiddendiv { font-size: 16px; }
|
|
#nothiddendivchild.em { font-size: 2em; }
|
|
#nothiddendivchild.prct { font-size: 150%; }
|
|
|
|
/* #9239 Attach a background to the body( avoid crashes in removing the test element in support ) */
|
|
body, div { background: url(1x1.jpg) no-repeat -1000px 0; }
|
|
|
|
/* #10501 */
|
|
section { background:#f0f; display:block; }
|
|
|
|
/* #11971 */
|
|
#foo { background: url(1x1.jpg) right bottom no-repeat; }
|
|
|
|
/* #14824 */
|
|
#span-14824 { display: block; }
|
|
|
|
#display { display: list-item !important; }
|
|
|
|
.block { display: block; }
|
|
.inline { display: inline; }
|
|
.list-item { display: list-item; }
|
|
.hidden, .none { display: none; }
|
|
|
|
#div-gh-2836 {
|
|
position: relative;
|
|
overflow: auto;
|
|
height: 100px;
|
|
}
|
|
#div-gh-2836 div {
|
|
position: relative;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.border-box, .border-box * {
|
|
box-sizing: border-box;
|
|
}
|