G. Sørtun wrote:
> Ingo Chao wrote:
>> here is the testcase with the :root:overflow fix
>> http://satzansatz.de/op/minheightrootoverflow.html
>
> Great!
>
> I "arrived" late on this thread, and it is good the see a fix has been
> found for that irritating bug.
>
> regards
> Georg
What bug are you talking about. There were two bugs.
1. min-height bug with Opera 10.00 as demonstrated by Ingo and fixed
with :root { overflow: auto; }.
2. resizing with min-height bug with IE8 and Opera 9~10.
Bruno gave a very detailed description of the resizing with min-height
bug. To see it, go here.
<http://satzansatz.de/op/minheightrootoverflow.html>
What you see is the whole viewport covered by the min-height div. If you
drag the bottom of the window upwards in IE8 and Opera 9~10 you will see
a vertical scrollbar appear. Now refresh the page and the scrollbar
disappears. Now drag the bottom of the window downwards in IE8 and Opera
9~10 you will see the background of the HTML appear under min-height
div. This is re-flowed by these methods.
a. Refreshing the page.
b. Dragging the left or right edge of the window in either direction.
c. Providing a hover transition effect to either the div, body or html.
The only way that I can fix (hack) Opera 9~10 is to insert another div.
This I presume breaks the 100% critical crisis point. IE8 still has the bug.
<http://css-class.com/test/css/box/min-height-resizing-opera-hack.htm>
Another test case shows a slight variation of the resizing with
min-height bug. The primary difference is that the body has a min-height
of 100% instead of a height.
<http://css-class.com/test/css/box/min-height2.htm>
In both Opera 9~10 and IE8, when a vertical scrollbar appears, it
possible to scroll upwards and downwards and have the absolutely
positioned box move.
When the bug is triggered in Opera 9~10, the min-height div expands to
show a red background. This remains until a double refresh happens. When
a vertical scroll bar appears in Opera 9~10, one refresh will make the
vertical scrollbar disappear. A second refresh will cause the min-height
div with the red background to disappear.
--
Alan http://css-class.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/