yui/yui3 — pull request #36 by okuryu (2011-10-10 12:00:57+00:00)
Title: Fixed the issue wrong return of Y.DOM.getXY() on Firefox.

Currently, the following seems to fail when run a DOM test in Firefox.

```
[okuryu@okuryu]$ ~/work/yeti/cli.js src/dom/tests/dom.html
Waiting for results.
✖ DOM Test Suite on Firefox (7.0.1) / Windows Vista
20 passed, 1 failed
in DOM
test_position: setXY([100, 200]
Expected: 200 (number)
Actual: 199 (number)

Failures: 1 of 21 tests failed. (2924ms)
```

This is Firefox's ```getBoundingClientRect()``` is returning it is because ```199.06666564941406``` instead ```200```.

Looking at [the specifications for ```ClientRect```](http://www.w3.org/TR/cssom-view/#the-clientrect-interface) as return of ```getBoundingClientRect()``` , because it's returns ```float```, the behavior of Firefox is correct.

It will can solve this test result by adding ```Math.ceil()``` in the test case, but as a use case, I think to usually ```Y.DOM.getXY()``` be expected return the value of an ```Number```.

Please review this one.