+2006-02-02 Mitz Pettel <opendarwin.org@mitzpettel.com>
+
+ Reviewed by Darin.
+
+ - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6881
+ Block with position:absolute bottom:0 doesn't always move when height
+ of containing block changes (affects Safari RSS)
+
+ * fast/block/positioning/height-change-expected.checksum: Added.
+ * fast/block/positioning/height-change-expected.png: Added.
+ * fast/block/positioning/height-change-expected.txt: Added.
+ * fast/block/positioning/height-change.html: Added.
+
2006-02-01 Darin Adler <darin@apple.com>
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7018
--- /dev/null
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {P} at (0,0) size 784x36
+ RenderText {TEXT} at (0,0) size 212x18
+ text run at (0,0) width 212: "This tests for a regression against "
+ RenderInline {I} at (0,0) size 743x36
+ RenderInline {A} at (0,0) size 348x18 [color=#0000EE]
+ RenderText {TEXT} at (212,0) size 348x18
+ text run at (212,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6881"
+ RenderText {TEXT} at (560,0) size 743x36
+ text run at (560,0) width 4: " "
+ text run at (564,0) width 179: "Block with position:absolute"
+ text run at (0,18) width 579: "bottom:0 doesn't always move when height of containing block changes (affects Safari RSS)"
+ RenderText {TEXT} at (579,18) size 4x18
+ text run at (579,18) width 4: "."
+ RenderBlock {P} at (0,52) size 784x18
+ RenderText {TEXT} at (0,0) size 550x18
+ text run at (0,0) width 550: "The squares below should have blue tops and green bottoms, not the other way around."
+ RenderBlock {HR} at (0,86) size 784x2 [border: (1px inset #000000)]
+ RenderBlock (anonymous) at (0,196) size 784x18
+ RenderBR {BR} at (0,0) size 0x18
+layer at (8,104) size 784x100
+ RenderBlock (relative positioned) {DIV} at (0,96) size 784x100
+ RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#87CEEB]
+layer at (8,154) size 100x50
+ RenderBlock (positioned) {DIV} at (0,50) size 100x50 [bgcolor=#90EE90]
+layer at (8,222) size 784x100
+ RenderFlexibleBox (relative positioned) {DIV} at (0,214) size 784x100
+ RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#87CEEB]
+layer at (8,272) size 100x50
+ RenderBlock (positioned) {DIV} at (0,50) size 100x50 [bgcolor=#90EE90]
--- /dev/null
+<html>
+<head>
+<style type="text/css">
+.articlefooter {
+ position: absolute;
+ bottom: 0;
+ width: 100px;
+ background-color: lightgreen;
+ height: 50px;
+}
+</style>
+<title></title>
+</head>
+<body>
+<p>
+ This tests for a regression against
+ <i><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=6881">http://bugzilla.opendarwin.org/show_bug.cgi?id=6881</a>
+ Block with position:absolute bottom:0 doesn't always move when height of containing block changes (affects Safari RSS)</i>.
+</p>
+<p>
+ The squares below should have blue tops and green bottoms, not the other way around.
+</p>
+<hr>
+<div style="position: relative;">
+ <div class=articlefooter></div>
+ <div id="t" style="background: skyblue; height: 50px; width: 100px;"></div>
+</div>
+<br>
+<div style="position: relative; display: -apple-box;">
+ <div class=articlefooter></div>
+ <div id="u" style="background: skyblue; height: 50px; width: 100px;"></div>
+</div>
+<script type="text/javascript">
+ document.body.offsetTop; // force layout
+ t.style.height = '100px';
+ u.style.height = '100px';
+</script>
+</body>