Files
firefox/layout/reftests/position-dynamic-changes/horizontal/style.css
T
Ehsan Akhgari 80a29fcc10 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

21 lines
302 B
CSS

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