_AssertFailure: [object Error]: assertEqual() failed: expected |100| but got943| [object Error] ERROR IN: function coordsBasic(t){ var pos = dojo.coords("sq100", false); console.debug(pos); t.is(100, pos.x); t.is(100, pos.y); t.is(100, pos.w); t.is(100, pos.h); }
FAILED test: ../../dojo/tests/_base/html_quirks.html::t::coordsBasic _AssertFailure: [object Error]: assertEqual() failed: expected |260| but got783| [object Error] ERROR IN: function coordsMargin(t){ coords is getting us the margin-box location, is this right? var pos = dojo.coords("sq100margin10", false); t.is(260, pos.x); t.is(110, pos.y); t.is(120, pos.w); t.is(120, pos.h); }
FAILED test: ../../dojo/tests/_base/html_quirks.html::t::coordsMargin _AssertFailure: [object Error]: assertEqual() failed: expected |0| but got1043| [object Error] ERROR IN: function sq100nopos(t){ var pos = dojo.coords("sq100nopos", false); console.debug(pos); t.is(0, pos.x); t.t(pos.y > 0); FIXME: the 'correct' w is not 100 on Safari WebKit? (2.0.4 [419.3]), the right-margin extends to the document edge t.is(100, pos.w); t.is(100, pos.h); }