{"ScriptPreparationCode":"var canvas = document.createElement(\u0022canvas\u0022);\r\ncanvas.width = 1920;\r\ncanvas.height = 1080;\r\nvar ctx = canvas.getContext(\u00222d\u0022);","TestCases":[{"Name":"hex rgb","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022#FF0000\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false},{"Name":"hex rgba","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022#FF0000FF\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false},{"Name":"rgb func with spaces","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022rgb(255, 0, 0)\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false},{"Name":"rgb func without spaces","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022rgb(255,0,0,1)\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false},{"Name":"rgba func with spaces","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022rgba(255, 0, 0, 1)\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false},{"Name":"rgba func without spaces","Code":"ctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.clearRect(0, 0, 1920, 1080);\r\nctx.fillStyle = \u0022rgba(255,0,0,1)\u0022;\r\nctx.setTransform(1, 0, 0, 1, 0, 0);\r\nctx.fillRect(0, 0, 1920, 1080);","IsDeferred":false}]}