{"ScriptPreparationCode":null,"TestCases":[{"Name":"getComputedStyle","Code":"var i = 5000;\r\nwhile (i--) {\r\n\tcheckDisplay(\u0027foo\u0027);\r\n}\r\n\r\nfunction checkDisplay(id) {\r\n return window.getComputedStyle(document.getElementById(id), null).getPropertyValue(\u0022display\u0022) === \u0022none\u0022;\r\n}","IsDeferred":false},{"Name":"getClientRects","Code":"var i = 5000;\r\nwhile (i--) {\r\n\tcheckDisplay(\u0027foo\u0027);\r\n}\r\n\r\nfunction checkDisplay(id) {\r\n return document.getElementById(id).getClientRects().width === 0;\r\n}\r\n","IsDeferred":false}]}