Mozilla/mozilla/layout/reftests/bugs/398797-style.css
dholbert%cs.stanford.edu 090f64beca Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238924 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 20:00:51 +00:00

14 lines
337 B
CSS

/* Size the divs */
div { width: 50px; height: 50px; }
/* Colors */
div.green { background: lightgreen; }
div.blue { background: lightblue; }
span.yellow { background: yellow; }
/* Positioning */
.abs { position: absolute; }
.rel { position: relative; }
.in { display: inline-block; }
.pos { top: 0px; left: 0px; }