gecko/layout/reftests/position-dynamic-changes/mixed/style.css
Ehsan Akhgari 2940bf2f84 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

23 lines
331 B
CSS

#parent {
position: relative;
width: 400px;
height: 400px;
background: red;
border: 0 solid black;
}
#child {
position: absolute;
left: 300px;
top: 200px;
right: 20px;
bottom: 20px;
background: blue;
border: 0 solid black;
}
.floatLeft {
width: 50px;
height: 10px;
background: green;
float: left;
}