Menu

#1040 CSS evaluation even if CSS is disabled

2.7
closed
None
5
2012-10-21
2010-03-05
No

The CSS evaluation algorithm of HtmlUnit doesn't care about the current CSS setting.
In my understanding, if I disable CSS for my webclient instance then no CSS evaluation should be happen at all.

I have attached a testcase to demonstrate this issue. Please note, that only CSS declarations embedded using the "style" attribute will be evaluated by a CSS disabled webclient.

Discussion

  • Hartmut Arlt

    Hartmut Arlt - 2010-03-05

    JUnit test case

     
  • Hartmut Arlt

    Hartmut Arlt - 2010-03-05

    HTML resource used by JUnit test case

     
  • Daniel Gredler

    Daniel Gredler - 2010-03-06

    Fixed in SVN, thanks for the very simple test case.

     

Log in to post a comment.