#1386 Determining element visiblity ignores CSS !important

Latest SVN
closed
RBRi
None
5
2012-10-21
2012-02-15
Adam Afeltowicz
No

This code both in IE and FF displays three LI elements:
<html>
<head>
<style>
li.visibility_hack {
display: block !important;
}
</style>
</head>


  • abc1


  • abc2


</html>

But HtmlUnit with cssEnabled set to "true" treats LI element with ID:"css_problem" as not displyed.

Discussion

  • RBRi
    RBRi
    2012-02-19

    Now fixed in SVN. Thanks for reporting.