{"ScriptPreparationCode":null,"TestCases":[{"Name":"style","Code":"var i = 5000;\r\nwhile (i--) {\r\n\tcheckDisplay(\u0027foo\u0027);\r\n}\r\n\r\nfunction checkDisplay(id) {\r\n \tlet element = document.getElementById(id);\r\n \treturn element.style.width;\r\n \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}]}