Removing test regarding asPX for further investigation. #44

master
Dmitry Baranovskiy 2013-10-21 14:49:51 -07:00
parent 80a72714c8
commit 627d968734
1 changed files with 0 additions and 5 deletions

View File

@ -190,11 +190,6 @@ describe("Element methods", function () {
var widthAsPx = rect.asPX("width");
expect(widthAsPx).to.be(200);
});
it("Element.asPX - from em", function() {
var rect = s.rect(0, 0, 10, '10em');
var heightAsPx = rect.asPX("height");
expect(heightAsPx).to.be(160); // assumes 1em = 16px, is this safe?
});
it("Element.getBBox", function() {
var rect = s.rect(10, 20, 30, 40);
var bbox = rect.getBBox();