{"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":"getBoundingClientRect","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).getBoundingClientRect().width === 0;\r\n}\r\n","IsDeferred":false}]}