Hi Sven,
Thanks for posting the link to the connect ticket. It makes it easy to look
it up and comment.
I can reproduce the issue from your test page in both IE8 and IE9 document
modes on IEPreview.
Yes I think you should re-submit the issue. I have not done so yet with the
tickets that I raised and with a postponed status. It looks like we cannot
just re-open them, but I think they should be resubmitted as validated HTML
5 (<!Doctype>) DTD
There in lies the problem
Now I make out that your test page should be also submitted as
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Overflow: scroll causes element to become its max-height</title>
<style type="text/css">
div
{
border: solid 1px black;
max-height: 20em;
overflow:scroll;
} </style> </head> <body> <p>The below <div> element has a max-height of 20em and
overflow set to scroll. In IE8 RC1, this causes the element to
become 20em in height even when this isn't necessary.</p>
<div>test</div>
</body>
</html>
But validating this at validator.w3.org returns a critical error...
Line 4, Column 52: Bad value X-UA-Compatible for attribute http-equiv on
element meta.
<meta http-equiv="X-UA-Compatible" content="IE=9" />
I don't know what is going on there....
2. at http://www.w3.org/TR/css3-box/#overflow1
I found this notation..
In the preceding sections, several things (such as flow roots) depend on the
value of ‘overflow’. We probably need to rewrite them in terms of
“overflow-x and/or -y” or similar.
Make of that what you will...
I think as a minimum any new tickets for IE9Preview should include the IE9
emulation Meta tag. It would seem logical that any corrected issues would be
only available in the IE9 Rendering Mode engine.
Press F12 to display the Developer Tool in IE9Preview to determine the
default document mode of your test cases.
Oh,,, very important. In IE8 first turn off "Automatically recover from
rendering errors with Compatibility view" on the advanced tab of internet
options. I usually turn this off when I am testing any web page in IE8.
Sometime you can code for standards with a valid DTD, but because of errors
on your page IE8 would fall back to near standards or quirks.
If you haven't already done so, read the instructions for submitting
feedback at the IEBlog.
http://blogs.msdn.com/ie/archive/2010/03/16/IE9-Platform-Preview-Feedback.aspx
Before you can raise new tickets you need to re-open your connect IE beta
participation. You may also like to join the IE beta newsgroup and add it to
your newsreader to keep informed about any late breaking news. I will cross
post this there although I think someone from MSFT is definitely monitoring
this public newsgroup and probably make comments in the connect NG.
Definitely add the IEBlog to your feed reader. There are 2 new posts as we
speak.
Post by Sven GrootI had a bug on IE8 that was closed as postponed
(https://connect.microsoft.com/IE/feedback/details/408759/overflow-scroll-causes-element-to-always-have-its-max-height),
and the same issue still occurs on the IE9 Platform Preview.
Should I re-submit the bug, or is that not necessary?