Sha256: bfc1f62886fc6313e187a2b2d6b763b06d83e115b0917875ccb0236442b2f48f
Contents?: true
Size: 509 Bytes
Versions: 4
Compression:
Stored size: 509 Bytes
Contents
module("SC.View - Static Layout functionality"); test("Static layout", function() { var view = SC.View.create({ useStaticLayout: YES }); view.createLayer(); ok(view.$().is('.sc-static-layout'), "views with useStaticLayout get the sc-static-layout class"); }); test("Background color", function() { var view = SC.View.create({ backgroundColor: "red" }); view.createLayer(); ok(view.$().css('background-color') == "red", "backgroundColor sets the CSS background-color class"); });
Version data entries
4 entries across 4 versions & 2 rubygems