title: isDisplayed() method always returns true for some elements
body: <p>I'm using Selenium to test appearance of error message when input field is empty. Error message designed as a label to input element.
  When the message is invisible, it has attribute <em>"display: none;"</em>.</p>
  
  <p>When I find that message by text and call <em>isDisplayed()</em> method, it always returns true, even when message is invisible. I write tests on Java, so I have no <em>isVisible()</em> message.</p>
  
  <p>I've tried method <em>getAttribute("style")</em>, but it returns empty string.
  Method <em>getCssValue("display")</em> returns <em>"block"</em> even when on page it has value <em>"none"</em>.</p>
  
  <p>I expected <em>ElementNotVisibleException</em> after calling <em>click()</em> method, but nothing happened!</p>
  
  <p>Any ideas? Workarounds?</p>
  
  <p>Here example of HTML:</p>
  
  <p><code>
  &lt;form id="from id" style="display: block;"&gt;</code></p>
  
  <p><code>&lt;input id="input" name="input"&gt;</code></p>
  
  <p><code>&lt;label for="input" generated="true" style="display: none;"&gt;Error text here.&lt;/label&gt;</code></p>
  
  <p><code>&lt;/from&gt;
  </code></p>