W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Clarification requested on 'clip' property

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 16 Jan 2005 21:14:06 +0100
Message-ID: <41EACB0E.1000808@annevankesteren.nl>
To: W3C CSS List <www-style@w3.org>

There are currently to different implementations of the 'clip' property 
that both seem valid according to CSS 2.1.

There is an online example available:

  <http://allcrispy.com/meuk/opera_clip_bug.html>

In Opera the link is not clickable and in Mozilla it is. So the question 
is which behavior is correct and if some clarification can be added to 
CSS 2.1.

In case the test case dies, here is the HTML and CSS:

#container {
  position: relative;
  height: 405px;
}
#container #image {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 540px;
  height: 405px;
  clip: rect(0px,540px,405px,200px);
}

<div id="container">
  <div id="image"><img src="biertjes.jpg" alt="" width="540"
       height="405"></div>
  <a href="http://opera.com">Go to Opera.com</a>
</div>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Sunday, 16 January 2005 20:14:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT