[cssom-view] MouveEvent x and y

The current draft defines these attributes [1] as:

# The x attribute must return the value of clientX. 
# The y attribute must return the value of clientY.

IE returns the distance from the border edge of the closest position:relative element or the viewport.
Opera sometimes returns the distance from the border edge of the element if it's position:absolute. 
WebKit matches the current definition.

I was wondering why these attributes were specified to be synonyms for two other attributes ?



[1] http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interface

Received on Tuesday, 14 September 2010 18:34:52 UTC