Commit Graph

20 Commits

Author SHA1 Message Date
Robert O'Callahan
152f21c553 Bug 507755. Add a test that will fail if anyone adds any enumerable chrome-only properties to 'window'. r=jst 2009-08-04 09:42:03 +12:00
Robert O'Callahan
bfe8426ae7 Bug 507755. Move the chrome-only property screenPixelsPerCSSPixel out of 'window' to nsIDOMWindowUtils. r=jst 2009-08-04 09:41:36 +12:00
Robert O'Callahan
de29a7ff56 Bug 486200. Add window.mozInnerScreenX/Y APIs to return usable screen coordinate APIs (as opposed to window.screenX/Y which return window frame coordinates and are unusable). Also adds window.mozScreenPixelsPerCSSPixel which chrome-prileged code can use to convert CSS pixels to actual screen pixels. r=dbaron,sr=jst
--HG--
extra : rebase_source : 30f4c953f3e3866da042b935953ba239ac0a93c4
2009-07-30 15:16:44 +12:00
Michael Kohler
39067b5db3 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Justin Lebar
e2b23a8e47 Bug 504220: document.body and window should contain onhashchange attribute r=mrbkap, sr=mrbkap 2009-07-15 15:46:14 -07:00
Neil Deakin
f2563bc9c9 Bug 497633, add tests 2009-06-22 16:09:58 -04:00
Neil Deakin
6100699909 Bug 497633, 497878, fix two crashes with similar tests that remove frames during blur, r+sr=smaug 2009-06-22 15:49:10 -04:00
Daniel Brooks
7414288516 Backed out changeset 3ed492a26551 2009-06-19 11:57:54 -05:00
Daniel Brooks
6d64d73925 Bug 486200 - Need API to compute screen coordinates of DOM elements
r=roc,dbaron, sr=roc,jst
2009-06-19 02:24:34 -05:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Gavin Sharp
f361caeff0 Bug 483634: add scrollX/scrollY getter on nsIDOMWindowUtils that allows avoiding a layout flush, r+sr=roc 2009-03-30 08:19:06 -04:00
Gavin Sharp
cebf520399 Back out changeset 699fc684188c from bug 483634 due to unit test failures 2009-03-19 00:56:19 -04:00
Gavin Sharp
a3164ef919 Bug 483634: add a way to get document scroll position without flushing layout to nsIDOMWindowUtils, r+sr=roc 2009-03-18 20:22:17 -04:00
Ginn Chen
fe0f1039d7 Bug 480506 test_offsets.xul failed with some GNOME themes r=roc 2009-03-06 14:42:12 +08:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Gavin Sharp
326a75031f Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky 2008-11-04 22:58:22 -05:00
Robert O'Callahan
b66bd8b92d Bug 379616. Fix offset tests to not assume getComputedStyle()['width'/'height'] works on SVG elements 2008-08-25 21:20:22 +12:00
Neil Deakin
a3d15d68b0 Bug 111034, add clientXXX, scrollXXX properties, attempt 2, r+sr=roc, attempt 2 with microformat fix 2008-08-15 18:26:37 -04:00
Ted Mielczarek
7118a4b9e3 Backed out changeset 2e8dfe209f09 due to unit test bustage 2008-08-15 12:59:30 -04:00
Neil Deakin
a31ad2e174 Add clientXXX and scrollXXX properties to XUL elements, also add width/height properties to ClientRect, r+sr=roc 2008-08-15 11:17:17 -04:00