gecko/layout/reftests/position-dynamic-changes/vertical/style.css
Ehsan Akhgari 14d4122730 Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00

20 lines
286 B
CSS

#parent {
position: relative;
width: 400px;
height: 400px;
background: red;
border: 0 solid black;
}
#child {
position: absolute;
width: 100px;
left: 100px;
background: blue;
border: 0 solid black;
}
.floatTop {
width: 10px;
height: 10px;
background: green;
}