--- dynamic-top-change-005.xht 2010-10-16 09:44:01.000000000 -0700 +++ dynamic-top-change-005a.xht 2011-01-27 14:29:20.000000000 -0800 @@ -1,9 +1,9 @@ - CSS Test: Inheriting 'top' changes from abspos grandparent + CSS Test: Inheriting 'top' changes from abspos grandparent (variant: block parent) - + @@ -28,9 +28,9 @@

There should be no red.

- +
- +
--- dynamic-top-change-005.xht 2010-10-16 09:44:01.000000000 -0700 +++ dynamic-top-change-005b.xht 2011-01-27 14:29:50.000000000 -0800 @@ -1,9 +1,9 @@ - CSS Test: Inheriting 'top' changes from abspos grandparent + CSS Test: Inheriting 'top' changes from abspos grandparent (non-dynamic variant) - + @@ -13,17 +13,11 @@ .testDiv { position: relative; width: 100px; height: 100px; } #green { top: 100px; background: green; } #red { top: inherit; background: red; display: block; } - #parent { position: relative; } + #parent { position: relative; top: 50px; } body > p { position: absolute; font-size: medium; } #grandparent { position: absolute; top: 0; } body { font-size: 0; line-height: 0; position: relative; } ]]> -

There should be no red.