Finally I had some time to test Internet Explorer 8 beta 2, so first of all I ran all the test I had previously done to check if bugs were fixed.
Here's the list:
applying :first-child
selector to dynamically added element still doesn't work, see the testcase. When you click on "Add first child" button, a new paragraph is added which then becomes the actual first-child of the parent div and only this new paragraph should apply CSS rules defined for the corresponding :first-child
selector. In IE8b2 new element gets the CSS applied, but the element that previously was first-child doesn't lose CSS as if it still was the first child (see IE8b2 screenshot and Google Chrome screenshot).
:last-child
is still not supported. Of course, it's CSS3, but it would be really handy to have this supported and most browsers already support :last-child
. See testcase.
position: relative for the generated content rule - fixed - now the testcase doesn't kill the tab where it's been opened.
generated content is created after window.onload - fixed - now all the generated content is created right at the stage of applying CSS rules which can be clearly seen here.
content: attr(class)
showing null
- fixed - now IE8b2 correctly shows the value of class attribute. content: attr(className)
results as an empty string, right as it's defined in the CSS spec for non-existing attributes. Here's the testcase.
expressions don't work in generated content - expressions don't work in standards compliancy mode any more at all, so this bug is outdated
text-transform
doesn't work for generated content - fixed - see testcase.
text-indent
doesn't work for generated content - fixed - see testcase.
So I was really convinced by IE8b1 tests that some hidden javascript code was used to support generated content, but now I'm absolutely sure that IE8b2 has decent native support for generated content and attribute selectors! Plus all the text-transform, text-align, text-indent issues are now fixed!